MkErrorC - various functions to raise a 'System' messagen on MkErrorS … More...
MkErrorDEFAULT | |
default-system-error - default-error … The default-error is defined once per runtime and is used as only-valid-source of an MkErrorC in a thread or process.
| |
MK_ERR | MkErrorDEFAULT_RT (MK_PARSER_RT_ONLY) |
default-system-error - default-error … | |
#define | MK_ERROR_DEFAULT_R(r) |
return as MK_OBJ, to return MK_ERR use MkERROR (R,RT,O,X,XN) or MkErrorDEFAULT ... | |
#define | MK_ERROR_DEFAULT MK_ERROR_DEFAULT_R(&MK_RT_REF) |
#define | MK_ERROR_DEFAULT_X(x) |
#define | MK_ERROR_DEFAULT_NULL MK_ERROR_DEFAULT_R(&MkRuntimeRLS) |
MkErrorPanik | |
panic-system-error - panic on next error … If the panic-system-error is used as the format-obj of an error-message, the text is formated as usual, but the default-error is not set, instead a MkPanicVL is called and the application terminates. MkErrorPANIC - usageSet the MkErrorS::format_of_error attribute to PANIC. The next error-message will be formated as usual and than be reported using MkPanicVL. With MkPanicVL the error will be printed to MkLogFileC (default: stderr) and the application will abort.
| |
MK_ERR | MkErrorPANIC_RT (MK_PARSER_RT_ONLY) |
panic-system-error - panic on next error … | |
#define | MK_ERROR_PANIC_R(r) |
#define | MK_ERROR_PANIC MK_ERROR_PANIC_R(&MK_RT_REF) |
#define | MK_ERROR_PANIC_X(x) |
#define | MK_ERROR_PANIC_NULL MK_ERROR_PANIC_R(&MkRuntimeRLS) |
use MkRuntimeRLS as runtime | |
MkErrorIgnore | |
ignore-system-error - ignore the next error … The next error will be ignored, no formatting will be performed and the the default-error will not be modified. MkErrorIGNORE - usageThere are two functions to suppress an error: MkErrorIGNORE and MkErrorNoRaise.
| |
MK_ERR | MkErrorIGNORE_RT (MK_PARSER_RT_ONLY) |
ignore-system-error - ignore the next error … | |
#define | MK_ERROR_IGNORE_R(r) |
#define | MK_ERROR_IGNORE MK_ERROR_IGNORE_R(&MK_RT_REF) |
#define | MK_ERROR_IGNORE_X(x) |
#define | MK_ERROR_IGNORE_XN(x) |
#define | MK_ERROR_IGNORE_NULL MK_ERROR_IGNORE_R(&MkRuntimeRLS) |
use MkRuntimeRLS as runtime | |
MkErrorPrintln | |
ignore-system-error - print the next error into MkLogFileC … The next error-message will be formated as usual and than be reported using MkLogVL. The default-error will not be modified. MkErrorPRINT - usageSet the MkErrorS::format_of_error attribute to PRINT.
| |
MK_ERR | MkErrorPRINT_RT (MK_PARSER_RT_ONLY) |
ignore-system-error - print the next error into MkLogFileC … | |
#define | MK_ERROR_PRINT_R(r) |
#define | MK_ERROR_PRINT MK_ERROR_PRINT_R(&MK_RT_REF) |
#define | MK_ERROR_PRINT_X(x) |
#define | MK_ERROR_PRINT_NULL MK_ERROR_PRINT_R(&MkRuntimeRLS) |
use MkRuntimeRLS as runtime | |
MkErrorFORMAT | ||||
system-error-format - format and return the default-error …
MkErrorFORMAT - usageSet the MkErrorS::format_of_error attribute to fmtobj or The next error-message created with ErrorSetC etc is formatted with MkRuntimeS->cid ("context-in-duty") or simply as "DEFAULT" if
| ||||
MK_EXTERN MK_ERR | MkErrorFORMAT (MK_OBJN fmtobj) | |||
system-error-format - format and return the default-error … | ||||
MK_EXTERN MK_ERR | MkErrorFORMAT_EO (MK_OBJN fmtobj) | |||
same as (static,runtime) MK_ERR MkErrorDEFAULT() but do not set the MkERROR.format_of_error attribute on errobj==NULL … | ||||
#define | MK_ERROR_FORMAT_R(r) | |||
#define | MK_ERROR_FORMAT MK_ERROR_FORMAT_R(&MK_RT_REF) | |||
#define | MK_ERROR_FORMAT_X(x) | |||
#define | MK_ERROR_FORMAT_NULL MK_ERROR_FORMAT_R(&MkRuntimeRLS) | |||
use MkRuntimeRLS as runtime | ||||
#define | MkErrorFORMAT_1M(m) | |||
#define | MkErrorFORMAT_1X(x) | |||
#define | MkErrorFORMAT_1O(o) | |||
MkErrorC - MkErrorC_System_C_API - function | |
MK_EXTERN MK_ERR | MkErrorDEFAULTP (MK_PARSER_RT_ONLY) |
Non-inline replacement for MkErrorDEFAULT … | |
MK_EXTERN MK_ERR | MkErrorIGNOREP (MK_PARSER_RT_ONLY) |
Non-inline replacement for MkErrorIGNORE … | |
MK_EXTERN MK_ERR | MkErrorPANICP (MK_PARSER_RT_ONLY) |
Non-inline replacement for MkErrorPANIC … | |
MK_EXTERN MK_ERR | MkErrorPRINTP (MK_PARSER_RT_ONLY) |
Non-inline replacement for MkErrorPRINT … | |
MkERROR | |
access the predefined error from MkRuntimeC as MK_ERR | |
#define | MkERROR_R(r) |
#define | MkERROR MkERROR_R(&MK_RT_REF) |
#define | MkERROR_RT MkERROR_R(&MK_RT_REF) |
#define | MkERROR_O(o) |
#define | MkERROR_X(x) |
#define | MkERROR_XN(x) |
#define | MkERROR_NULL MkERROR_R(&MkRuntimeRLS) |
MkErrorC - MkErrorC_System_C_API - overload | |
#define | MkErrorDEFAULT_NULL() |
#define | MkErrorDEFAULT() |
#define | MkErrorFORMAT_0() |
#define | MkErrorFORMAT_EO_0() |
#define | MkErrorIGNORE_NULL() |
#define | MkErrorIGNORE() |
#define | MkErrorPANIC_NULL() |
#define | MkErrorPANIC() |
#define | MkErrorPRINT_NULL() |
#define | MkErrorPRINT() |
MkErrorC - various functions to raise a 'System' messagen on MkErrorS …
#define MK_ERROR_DEFAULT MK_ERROR_DEFAULT_R(&MK_RT_REF) |
Definition at line 10028 of file LibMkKernel_mk.h.
#define MK_ERROR_DEFAULT_NULL MK_ERROR_DEFAULT_R(&MkRuntimeRLS) |
Definition at line 10030 of file LibMkKernel_mk.h.
#define MK_ERROR_DEFAULT_R | ( | r | ) |
return as MK_OBJ, to return MK_ERR use MkERROR (R,RT,O,X,XN) or MkErrorDEFAULT ...
Definition at line 10027 of file LibMkKernel_mk.h.
#define MK_ERROR_DEFAULT_X | ( | x | ) |
Definition at line 10029 of file LibMkKernel_mk.h.
#define MK_ERROR_FORMAT MK_ERROR_FORMAT_R(&MK_RT_REF) |
Definition at line 10149 of file LibMkKernel_mk.h.
#define MK_ERROR_FORMAT_NULL MK_ERROR_FORMAT_R(&MkRuntimeRLS) |
use MkRuntimeRLS as runtime
Definition at line 10152 of file LibMkKernel_mk.h.
#define MK_ERROR_FORMAT_R | ( | r | ) |
Definition at line 10146 of file LibMkKernel_mk.h.
#define MK_ERROR_FORMAT_X | ( | x | ) |
Definition at line 10150 of file LibMkKernel_mk.h.
#define MK_ERROR_IGNORE MK_ERROR_IGNORE_R(&MK_RT_REF) |
Definition at line 10079 of file LibMkKernel_mk.h.
#define MK_ERROR_IGNORE_NULL MK_ERROR_IGNORE_R(&MkRuntimeRLS) |
use MkRuntimeRLS as runtime
Definition at line 10083 of file LibMkKernel_mk.h.
#define MK_ERROR_IGNORE_R | ( | r | ) |
Definition at line 10078 of file LibMkKernel_mk.h.
#define MK_ERROR_IGNORE_X | ( | x | ) |
Definition at line 10080 of file LibMkKernel_mk.h.
#define MK_ERROR_IGNORE_XN | ( | x | ) |
Definition at line 10081 of file LibMkKernel_mk.h.
#define MK_ERROR_PANIC MK_ERROR_PANIC_R(&MK_RT_REF) |
Definition at line 10048 of file LibMkKernel_mk.h.
#define MK_ERROR_PANIC_NULL MK_ERROR_PANIC_R(&MkRuntimeRLS) |
use MkRuntimeRLS as runtime
Definition at line 10051 of file LibMkKernel_mk.h.
#define MK_ERROR_PANIC_R | ( | r | ) |
Definition at line 10047 of file LibMkKernel_mk.h.
#define MK_ERROR_PANIC_X | ( | x | ) |
Definition at line 10049 of file LibMkKernel_mk.h.
#define MK_ERROR_PRINT MK_ERROR_PRINT_R(&MK_RT_REF) |
Definition at line 10119 of file LibMkKernel_mk.h.
#define MK_ERROR_PRINT_NULL MK_ERROR_PRINT_R(&MkRuntimeRLS) |
use MkRuntimeRLS as runtime
Definition at line 10122 of file LibMkKernel_mk.h.
#define MK_ERROR_PRINT_R | ( | r | ) |
Definition at line 10118 of file LibMkKernel_mk.h.
#define MK_ERROR_PRINT_X | ( | x | ) |
Definition at line 10120 of file LibMkKernel_mk.h.
Definition at line 10014 of file LibMkKernel_mk.h.
#define MkERROR_NULL MkERROR_R(&MkRuntimeRLS) |
Definition at line 10019 of file LibMkKernel_mk.h.
#define MkERROR_O | ( | o | ) |
Definition at line 10016 of file LibMkKernel_mk.h.
#define MkERROR_R | ( | r | ) |
Definition at line 10013 of file LibMkKernel_mk.h.
Definition at line 10015 of file LibMkKernel_mk.h.
#define MkERROR_X | ( | x | ) |
Definition at line 10017 of file LibMkKernel_mk.h.
#define MkERROR_XN | ( | x | ) |
Definition at line 10018 of file LibMkKernel_mk.h.
#define MkErrorDEFAULT | ( | ) |
Definition at line 1258 of file kernel_overload_mk.h.
#define MkErrorDEFAULT_NULL | ( | ) |
Definition at line 1257 of file kernel_overload_mk.h.
#define MkErrorFORMAT_0 | ( | ) |
Definition at line 1259 of file kernel_overload_mk.h.
#define MkErrorFORMAT_1M | ( | m | ) |
Definition at line 10175 of file LibMkKernel_mk.h.
#define MkErrorFORMAT_1O | ( | o | ) |
Definition at line 10177 of file LibMkKernel_mk.h.
#define MkErrorFORMAT_1X | ( | x | ) |
Definition at line 10176 of file LibMkKernel_mk.h.
#define MkErrorFORMAT_EO_0 | ( | ) |
Definition at line 1260 of file kernel_overload_mk.h.
#define MkErrorIGNORE | ( | ) |
Definition at line 1262 of file kernel_overload_mk.h.
#define MkErrorIGNORE_NULL | ( | ) |
Definition at line 1261 of file kernel_overload_mk.h.
#define MkErrorPANIC | ( | ) |
Definition at line 1264 of file kernel_overload_mk.h.
#define MkErrorPANIC_NULL | ( | ) |
Definition at line 1263 of file kernel_overload_mk.h.
#define MkErrorPRINT | ( | ) |
Definition at line 1266 of file kernel_overload_mk.h.
#define MkErrorPRINT_NULL | ( | ) |
Definition at line 1265 of file kernel_overload_mk.h.
|
inline |
default-system-error - default-error …
The default-error is defined once per runtime and is used as only-valid-source of an MkErrorC in a thread or process.
Definition at line 12615 of file LibMkKernel_mk.h.
MK_EXTERN MK_ERR MkErrorDEFAULTP | ( | MK_PARSER_RT_ONLY | ) |
Non-inline replacement for MkErrorDEFAULT …
system-error-format - format and return the default-error …
Set the MkErrorS::format_of_error attribute to fmtobj or MK_NULL
. The next error-message will be formated as usual and than be raised as error. The default-error will be modified.
The next error-message created with ErrorSetC etc is formatted with MkRuntimeS->cid ("context-in-duty") or simply as "DEFAULT" if cid == NULL
.
[in] | fmtobj | managed object used to format the log-message (default=MK_NULL → use default-format) |
same as (static,runtime) MK_ERR MkErrorDEFAULT()
but do not set the MkERROR.format_of_error
attribute on errobj==NULL …
|
inline |
ignore-system-error - ignore the next error …
The next error will be ignored, no formatting will be performed and the the default-error will not be modified.
There are two functions to suppress an error: MkErrorIGNORE and MkErrorNoRaise.
Definition at line 12599 of file LibMkKernel_mk.h.
MK_EXTERN MK_ERR MkErrorIGNOREP | ( | MK_PARSER_RT_ONLY | ) |
Non-inline replacement for MkErrorIGNORE …
|
inline |
panic-system-error - panic on next error …
If the panic-system-error is used as the format-obj of an error-message, the text is formated as usual, but the default-error is not set, instead a MkPanicVL is called and the application terminates.
Set the MkErrorS::format_of_error attribute to PANIC. The next error-message will be formated as usual and than be reported using MkPanicVL. With MkPanicVL the error will be printed to MkLogFileC (default: stderr) and the application will abort.
Definition at line 12591 of file LibMkKernel_mk.h.
MK_EXTERN MK_ERR MkErrorPANICP | ( | MK_PARSER_RT_ONLY | ) |
Non-inline replacement for MkErrorPANIC …
|
inline |
ignore-system-error - print the next error into MkLogFileC …
The next error-message will be formated as usual and than be reported using MkLogVL. The default-error will not be modified.
Set the MkErrorS::format_of_error attribute to PRINT.
Definition at line 12607 of file LibMkKernel_mk.h.
MK_EXTERN MK_ERR MkErrorPRINTP | ( | MK_PARSER_RT_ONLY | ) |
Non-inline replacement for MkErrorPRINT …