Information
We are currently investigating an issue with the editor of some pages. Please save your work and avoid to create new pages until this banner is gone.
...
Code Block | ||||
---|---|---|---|---|
| ||||
#For catching exceptions except <Interface>Err.<ExceptionName>Ex as e: #For raising exceptions raise <Interface>ErrImpl.<ExceptionName>ExImpl().get<ExceptionName>Ex() #For raising exceptions with parameters err = <Interface>ErrImpl.<ExceptionName>ExImpl() err.set<ParamName>(<Value>) raise err.get<ExceptionName>Ex() #For logging an error message from the exceptions err = <Interface>ErrImpl.<ExceptionName>ExImpl() err.log() raise err.get<ExceptionName>Ex() |