MqContextC - move and copy an error from a context … More...
Functions | |
MQ_EXTERN enum MkErrorE | MqContextErrorCopy_RT (MK_RT const mkrt, MQ_CTXN const targetCtx, MQ_CTXN const sourceCtx) |
copy a MkErrorS from the sourceCtx to the targetCtx … | |
MQ_EXTERN enum MkErrorE | MqContextErrorMove_RT (MK_RT const mkrt, MQ_CTXN const targetCtx, MQ_CTXN const sourceCtx) |
move a MkErrorS from the sourceCtx to the targetCtx … | |
MqContextC - MqContextC_ErrorApi_Error_C_API - function | |
MK_ERR | MqContextErrorFORMATP (MQ_CTXN const fmtobj) |
Non-inline replacement for MqContextErrorFORMAT … | |
MqContextC - MqContextC_ErrorApi_Error_C_API - overload | |
#define | MqContextErrorFORMAT_0() |
#define | MqContextErrorCopy_NULL(...) |
#define | MqContextErrorCopy(...) |
#define | MqContextErrorCopy_E(...) |
#define | MqContextErrorCopy_C(...) |
#define | MqContextErrorMove_NULL(...) |
#define | MqContextErrorMove(...) |
#define | MqContextErrorMove_E(...) |
#define | MqContextErrorMove_C(...) |
MqContextC - move and copy an error from a context …
#define MqContextErrorCopy | ( | ... | ) |
Definition at line 185 of file msgque_overload_mq.h.
#define MqContextErrorCopy_C | ( | ... | ) |
Definition at line 187 of file msgque_overload_mq.h.
#define MqContextErrorCopy_E | ( | ... | ) |
Definition at line 186 of file msgque_overload_mq.h.
#define MqContextErrorCopy_NULL | ( | ... | ) |
Definition at line 184 of file msgque_overload_mq.h.
#define MqContextErrorFORMAT_0 | ( | ) |
Definition at line 181 of file msgque_overload_mq.h.
#define MqContextErrorMove | ( | ... | ) |
Definition at line 189 of file msgque_overload_mq.h.
#define MqContextErrorMove_C | ( | ... | ) |
Definition at line 191 of file msgque_overload_mq.h.
#define MqContextErrorMove_E | ( | ... | ) |
Definition at line 190 of file msgque_overload_mq.h.
#define MqContextErrorMove_NULL | ( | ... | ) |
Definition at line 188 of file msgque_overload_mq.h.
MQ_EXTERN enum MkErrorE MqContextErrorCopy_RT | ( | MK_RT const | mkrt, |
MQ_CTXN const | targetCtx, | ||
MQ_CTXN const | sourceCtx ) |
copy a MkErrorS from the sourceCtx to the targetCtx …
In pymqmsgque the a MkRuntimeC is only one error-object per thread but this error-object has also addiitional attributes to identify the source of the error. In addition the pymqmsgque has also an extended-error-object MqErrorS which also has error-specific-attributes. The MqContextErrorCopy is used to copy an error frome sourceCtx to targetCtx and keep the additional attributes in sync.
[in] | mkrt | the MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only) |
targetCtx | the MqContextC object and the target of the error | |
sourceCtx | the MqContextC object and the source of the error |
Non-inline replacement for MqContextErrorFORMAT …
MQ_EXTERN enum MkErrorE MqContextErrorMove_RT | ( | MK_RT const | mkrt, |
MQ_CTXN const | targetCtx, | ||
MQ_CTXN const | sourceCtx ) |
move a MkErrorS from the sourceCtx to the targetCtx …
[in] | mkrt | the MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only) |
targetCtx | the MqContextC object and the target of the error | |
sourceCtx | the MqContextC object and the source of the error and cleared |