Sq3Lite PACKAGE - work with an error …
More...
Sq3Lite PACKAGE - work with an error …
Error handling in rbsq3lite.
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.
◆ rbsq3lite_Sq3Lite_ErrorCheckI()
Ruby: (static) bool Sq3Lite.ErrorCheckI(ret:Sq3ErrorE)
→ C-API
check if ret signal an error …
Definition at line 1758 of file LibSq3Lite_rb.c.
1758 {
1767}
#define OT_retObj_SET_BOL(nat)
#define OT_SETUP_ONEARG(d)
#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)