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 | libmkkernel::MkErrorDEFAULT_RT (MK_RT mkrt) |
default-system-error - default-error … | |
#define | MK_ERROR_DEFAULT_R(r) |
return as libmkkernel::MK_OBJ, to return libmkkernel::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 | libmkkernel::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 | libmkkernel::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 | libmkkernel::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 | libmkkernel::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 | libmkkernel::MkErrorFORMAT (MK_OBJN fmtobj) | |||
system-error-format - format and return the default-error … | ||||
MK_ERR | libmkkernel::MkErrorFORMAT_EO (MK_OBJN fmtobj) | |||
same as [static] MkErrorC* MkErrorC::DEFAULT() 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) | |||
MkERROR | |
access the predefined error from MkRuntimeC as libmkkernel::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 10667 of file LibMkKernel_mk.h.
#define MK_ERROR_DEFAULT_NULL MK_ERROR_DEFAULT_R(&MkRuntimeRLS) |
Definition at line 10669 of file LibMkKernel_mk.h.
#define MK_ERROR_DEFAULT_R | ( | r | ) |
return as libmkkernel::MK_OBJ, to return libmkkernel::MK_ERR use MkERROR (R,RT,O,X,XN) or MkErrorDEFAULT ...
Definition at line 10666 of file LibMkKernel_mk.h.
#define MK_ERROR_DEFAULT_X | ( | x | ) |
Definition at line 10668 of file LibMkKernel_mk.h.
#define MK_ERROR_EXIT MK_ERROR_EXIT_R(&MK_RT_REF) |
Definition at line 10718 of file LibMkKernel_mk.h.
#define MK_ERROR_EXIT_NULL MK_ERROR_EXIT_R(&MkRuntimeRLS) |
use MkRuntimeRLS as runtime
Definition at line 10721 of file LibMkKernel_mk.h.
#define MK_ERROR_EXIT_R | ( | r | ) |
Definition at line 10717 of file LibMkKernel_mk.h.
#define MK_ERROR_EXIT_X | ( | x | ) |
Definition at line 10719 of file LibMkKernel_mk.h.
#define MK_ERROR_FORMAT MK_ERROR_FORMAT_R(&MK_RT_REF) |
Definition at line 10819 of file LibMkKernel_mk.h.
#define MK_ERROR_FORMAT_NULL MK_ERROR_FORMAT_R(&MkRuntimeRLS) |
use MkRuntimeRLS as runtime
Definition at line 10822 of file LibMkKernel_mk.h.
#define MK_ERROR_FORMAT_R | ( | r | ) |
Definition at line 10816 of file LibMkKernel_mk.h.
#define MK_ERROR_FORMAT_X | ( | x | ) |
Definition at line 10820 of file LibMkKernel_mk.h.
#define MK_ERROR_IGNORE MK_ERROR_IGNORE_R(&MK_RT_REF) |
Definition at line 10749 of file LibMkKernel_mk.h.
#define MK_ERROR_IGNORE_NULL MK_ERROR_IGNORE_R(&MkRuntimeRLS) |
use MkRuntimeRLS as runtime
Definition at line 10753 of file LibMkKernel_mk.h.
#define MK_ERROR_IGNORE_R | ( | r | ) |
Definition at line 10748 of file LibMkKernel_mk.h.
#define MK_ERROR_IGNORE_X | ( | x | ) |
Definition at line 10750 of file LibMkKernel_mk.h.
#define MK_ERROR_IGNORE_XN | ( | x | ) |
Definition at line 10751 of file LibMkKernel_mk.h.
#define MK_ERROR_PANIC MK_ERROR_PANIC_R(&MK_RT_REF) |
Definition at line 10687 of file LibMkKernel_mk.h.
#define MK_ERROR_PANIC_NULL MK_ERROR_PANIC_R(&MkRuntimeRLS) |
use MkRuntimeRLS as runtime
Definition at line 10690 of file LibMkKernel_mk.h.
#define MK_ERROR_PANIC_R | ( | r | ) |
Definition at line 10686 of file LibMkKernel_mk.h.
#define MK_ERROR_PANIC_X | ( | x | ) |
Definition at line 10688 of file LibMkKernel_mk.h.
#define MK_ERROR_PRINT MK_ERROR_PRINT_R(&MK_RT_REF) |
Definition at line 10789 of file LibMkKernel_mk.h.
#define MK_ERROR_PRINT_NULL MK_ERROR_PRINT_R(&MkRuntimeRLS) |
use MkRuntimeRLS as runtime
Definition at line 10792 of file LibMkKernel_mk.h.
#define MK_ERROR_PRINT_R | ( | r | ) |
Definition at line 10788 of file LibMkKernel_mk.h.
#define MK_ERROR_PRINT_X | ( | x | ) |
Definition at line 10790 of file LibMkKernel_mk.h.
Definition at line 10653 of file LibMkKernel_mk.h.
#define MkERROR_NULL MkERROR_R(&MkRuntimeRLS) |
Definition at line 10658 of file LibMkKernel_mk.h.
#define MkERROR_O | ( | o | ) |
Definition at line 10655 of file LibMkKernel_mk.h.
#define MkERROR_R | ( | r | ) |
Definition at line 10652 of file LibMkKernel_mk.h.
Definition at line 10654 of file LibMkKernel_mk.h.
#define MkERROR_X | ( | x | ) |
Definition at line 10656 of file LibMkKernel_mk.h.
#define MkERROR_XN | ( | x | ) |
Definition at line 10657 of file LibMkKernel_mk.h.
#define MkErrorDEFAULT | ( | ) |
Definition at line 1278 of file kernel_overload_mk.h.
#define MkErrorDEFAULT_NULL | ( | ) |
Definition at line 1277 of file kernel_overload_mk.h.
#define MkErrorEXIT | ( | ) |
Definition at line 1280 of file kernel_overload_mk.h.
#define MkErrorEXIT_NULL | ( | ) |
Definition at line 1279 of file kernel_overload_mk.h.
#define MkErrorFORMAT_0 | ( | ) |
Definition at line 1281 of file kernel_overload_mk.h.
#define MkErrorFORMAT_1M | ( | m | ) |
Definition at line 10845 of file LibMkKernel_mk.h.
#define MkErrorFORMAT_1O | ( | o | ) |
Definition at line 10847 of file LibMkKernel_mk.h.
#define MkErrorFORMAT_1X | ( | x | ) |
Definition at line 10846 of file LibMkKernel_mk.h.
#define MkErrorFORMAT_EO_0 | ( | ) |
Definition at line 1282 of file kernel_overload_mk.h.
#define MkErrorIGNORE | ( | ) |
Definition at line 1284 of file kernel_overload_mk.h.
#define MkErrorIGNORE_NULL | ( | ) |
Definition at line 1283 of file kernel_overload_mk.h.
#define MkErrorPANIC | ( | ) |
Definition at line 1286 of file kernel_overload_mk.h.
#define MkErrorPANIC_NULL | ( | ) |
Definition at line 1285 of file kernel_overload_mk.h.
#define MkErrorPRINT | ( | ) |
Definition at line 1288 of file kernel_overload_mk.h.
#define MkErrorPRINT_NULL | ( | ) |
Definition at line 1287 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 13490 of file LibMkKernel_mk.h.
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 13466 of file LibMkKernel_mk.h.
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] MkErrorC* MkErrorC::DEFAULT()
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 13474 of file LibMkKernel_mk.h.
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 13458 of file LibMkKernel_mk.h.
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 13482 of file LibMkKernel_mk.h.