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.
| |
static MK_ERR | MkErrorDEFAULT_RT (MK_RT mkrt) |
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.
| |
static MK_ERR | MkErrorPANIC_RT (MK_RT mkrt) |
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 | |
MkErrorExit | |
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. MkErrorEXIT - usageSet the MkErrorS::format_of_error attribute to EXIT. 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.
| |
static MK_ERR | MkErrorEXIT_RT (MK_RT mkrt) |
panic-system-error - panic on next error … | |
#define | MK_ERROR_EXIT_R(r) |
#define | MK_ERROR_EXIT MK_ERROR_EXIT_R(&MK_RT_REF) |
#define | MK_ERROR_EXIT_X(x) |
#define | MK_ERROR_EXIT_NULL MK_ERROR_EXIT_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.
| |
static MK_ERR | MkErrorIGNORE_RT (MK_RT mkrt) |
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.
| |
static MK_ERR | MkErrorPRINT_RT (MK_RT mkrt) |
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_ERR | MkErrorFORMAT (MK_OBJN fmtobj) | |||
system-error-format - format and return the default-error … | ||||
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_ERR | MkErrorDEFAULTP (MK_RT mkrt) |
Non-inline replacement for MkErrorDEFAULT … | |
MK_ERR | MkErrorEXITP (MK_RT mkrt) |
Non-inline replacement for MkErrorEXIT … | |
MK_ERR | MkErrorIGNOREP (MK_RT mkrt) |
Non-inline replacement for MkErrorIGNORE … | |
MK_ERR | MkErrorPANICP (MK_RT mkrt) |
Non-inline replacement for MkErrorPANIC … | |
MK_ERR | MkErrorPRINTP (MK_RT mkrt) |
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 | MkErrorEXIT_NULL() |
#define | MkErrorEXIT() |
#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 10655 of file LibMkKernel_mk.h.
#define MK_ERROR_DEFAULT_NULL MK_ERROR_DEFAULT_R(&MkRuntimeRLS) |
Definition at line 10657 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 10654 of file LibMkKernel_mk.h.
#define MK_ERROR_DEFAULT_X | ( | x | ) |
Definition at line 10656 of file LibMkKernel_mk.h.
#define MK_ERROR_EXIT MK_ERROR_EXIT_R(&MK_RT_REF) |
Definition at line 10706 of file LibMkKernel_mk.h.
#define MK_ERROR_EXIT_NULL MK_ERROR_EXIT_R(&MkRuntimeRLS) |
use MkRuntimeRLS as runtime
Definition at line 10709 of file LibMkKernel_mk.h.
#define MK_ERROR_EXIT_R | ( | r | ) |
Definition at line 10705 of file LibMkKernel_mk.h.
#define MK_ERROR_EXIT_X | ( | x | ) |
Definition at line 10707 of file LibMkKernel_mk.h.
#define MK_ERROR_FORMAT MK_ERROR_FORMAT_R(&MK_RT_REF) |
Definition at line 10807 of file LibMkKernel_mk.h.
#define MK_ERROR_FORMAT_NULL MK_ERROR_FORMAT_R(&MkRuntimeRLS) |
use MkRuntimeRLS as runtime
Definition at line 10810 of file LibMkKernel_mk.h.
#define MK_ERROR_FORMAT_R | ( | r | ) |
Definition at line 10804 of file LibMkKernel_mk.h.
#define MK_ERROR_FORMAT_X | ( | x | ) |
Definition at line 10808 of file LibMkKernel_mk.h.
#define MK_ERROR_IGNORE MK_ERROR_IGNORE_R(&MK_RT_REF) |
Definition at line 10737 of file LibMkKernel_mk.h.
#define MK_ERROR_IGNORE_NULL MK_ERROR_IGNORE_R(&MkRuntimeRLS) |
use MkRuntimeRLS as runtime
Definition at line 10741 of file LibMkKernel_mk.h.
#define MK_ERROR_IGNORE_R | ( | r | ) |
Definition at line 10736 of file LibMkKernel_mk.h.
#define MK_ERROR_IGNORE_X | ( | x | ) |
Definition at line 10738 of file LibMkKernel_mk.h.
#define MK_ERROR_IGNORE_XN | ( | x | ) |
Definition at line 10739 of file LibMkKernel_mk.h.
#define MK_ERROR_PANIC MK_ERROR_PANIC_R(&MK_RT_REF) |
Definition at line 10675 of file LibMkKernel_mk.h.
#define MK_ERROR_PANIC_NULL MK_ERROR_PANIC_R(&MkRuntimeRLS) |
use MkRuntimeRLS as runtime
Definition at line 10678 of file LibMkKernel_mk.h.
#define MK_ERROR_PANIC_R | ( | r | ) |
Definition at line 10674 of file LibMkKernel_mk.h.
#define MK_ERROR_PANIC_X | ( | x | ) |
Definition at line 10676 of file LibMkKernel_mk.h.
#define MK_ERROR_PRINT MK_ERROR_PRINT_R(&MK_RT_REF) |
Definition at line 10777 of file LibMkKernel_mk.h.
#define MK_ERROR_PRINT_NULL MK_ERROR_PRINT_R(&MkRuntimeRLS) |
use MkRuntimeRLS as runtime
Definition at line 10780 of file LibMkKernel_mk.h.
#define MK_ERROR_PRINT_R | ( | r | ) |
Definition at line 10776 of file LibMkKernel_mk.h.
#define MK_ERROR_PRINT_X | ( | x | ) |
Definition at line 10778 of file LibMkKernel_mk.h.
Definition at line 10641 of file LibMkKernel_mk.h.
#define MkERROR_NULL MkERROR_R(&MkRuntimeRLS) |
Definition at line 10646 of file LibMkKernel_mk.h.
#define MkERROR_O | ( | o | ) |
Definition at line 10643 of file LibMkKernel_mk.h.
#define MkERROR_R | ( | r | ) |
Definition at line 10640 of file LibMkKernel_mk.h.
Definition at line 10642 of file LibMkKernel_mk.h.
#define MkERROR_X | ( | x | ) |
Definition at line 10644 of file LibMkKernel_mk.h.
#define MkERROR_XN | ( | x | ) |
Definition at line 10645 of file LibMkKernel_mk.h.
#define MkErrorDEFAULT | ( | ) |
Definition at line 1281 of file kernel_overload_mk.h.
#define MkErrorDEFAULT_NULL | ( | ) |
Definition at line 1280 of file kernel_overload_mk.h.
#define MkErrorEXIT | ( | ) |
Definition at line 1283 of file kernel_overload_mk.h.
#define MkErrorEXIT_NULL | ( | ) |
Definition at line 1282 of file kernel_overload_mk.h.
#define MkErrorFORMAT_0 | ( | ) |
Definition at line 1284 of file kernel_overload_mk.h.
#define MkErrorFORMAT_1M | ( | m | ) |
Definition at line 10833 of file LibMkKernel_mk.h.
#define MkErrorFORMAT_1O | ( | o | ) |
Definition at line 10835 of file LibMkKernel_mk.h.
#define MkErrorFORMAT_1X | ( | x | ) |
Definition at line 10834 of file LibMkKernel_mk.h.
#define MkErrorFORMAT_EO_0 | ( | ) |
Definition at line 1285 of file kernel_overload_mk.h.
#define MkErrorIGNORE | ( | ) |
Definition at line 1287 of file kernel_overload_mk.h.
#define MkErrorIGNORE_NULL | ( | ) |
Definition at line 1286 of file kernel_overload_mk.h.
#define MkErrorPANIC | ( | ) |
Definition at line 1289 of file kernel_overload_mk.h.
#define MkErrorPANIC_NULL | ( | ) |
Definition at line 1288 of file kernel_overload_mk.h.
#define MkErrorPRINT | ( | ) |
Definition at line 1291 of file kernel_overload_mk.h.
#define MkErrorPRINT_NULL | ( | ) |
Definition at line 1290 of file kernel_overload_mk.h.
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 13460 of file LibMkKernel_mk.h.
Non-inline replacement for MkErrorDEFAULT …
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 EXIT. 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 13436 of file LibMkKernel_mk.h.
Non-inline replacement for MkErrorEXIT …
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 …
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 13444 of file LibMkKernel_mk.h.
Non-inline replacement for MkErrorIGNORE …
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 13428 of file LibMkKernel_mk.h.
Non-inline replacement for MkErrorPANIC …
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 13452 of file LibMkKernel_mk.h.
Non-inline replacement for MkErrorPRINT …