Sq3Lite PACKAGE - work with an error …
More...
Sq3Lite PACKAGE - work with an error …
Error handling in pysq3lite.
The error signals the end of an operation with an undesirable result or state.
- The error is defined using the both enum: enum Sq3ErrorE and enum Sq3ExtendetResultCodesE
- In a programming language WITHOUT explicit error handling (eg "C") this value is returned and the subsequent code must process the error, eg with Sq3ErrorE_Check.
- In a programming language WITH explicit error handling (eg "Java"), the error is converted into an exception and the program flow is aborted with an error message.
◆ pysq3lite_Sq3Lite_ErrorCheckI()
Python: [static] bool ErrorCheckI(ret:Sq3ErrorE)
→ C-API
check if ret signal an error …
Definition at line 2057 of file LibSq3Lite_py.c.
2057 {
2064 goto end;
2065 error:
2067 end:
2069}
#define OT_retObj_SET_BOL(nat)
#define OT_SETUP_ONEARG(d)
#define OT_retObj_SET_Error
#define OT_CHECK_REQUIRED(val)
#define OT_SETUP_hdl_static
static bool Sq3ErrorCheckI(enum Sq3ErrorE ret)
check if ret signal an error …
#define OT_CHECK_ENUM(ename, val)