Closed capitanevs closed 2 years ago
Up to Michele: Put into LibWiser
This is how it looks like now
It can be closed (next meeting)
How to write multiline strings and NO carriage return
raise WiserException("LibWiser error\n" \
"DESCRIPTION: It is not possible to find a previous element that matches the positioning directives.\n\n" \
"POSSIBLE SOLUTION: the user wants to place a 'Detector' element in the focus of the upstream focusing " \
" mirror, but WISER could not find any focusing mirror just upstream. To fix this, try to change" \
" the positioning directives of the 'Detector'\n\n" \
"ERROR MESSAGE: : the variable oeXSameOrientationCurrent is None.")
IF "smart autofocus" is selected AND there is no focussing mirror before,then a not understandable error message is shown.
Wehave to translate it into human-readible.
On which Layer? oasyswiser, LibWiser?