theKernel 10.0 NHI1 - theKernel - theLink - theConfig - theSq3Lite - theCompiler - theBrain - theGuard
c - tcl - py - jv - cc
Loading...
Searching...
No Matches
libmkkernel::MkErrorS Struct Reference

The data-type to store and handle the error-conditionMore...

#include <LibMkKernel_mk.h>

+ Collaboration diagram for libmkkernel::MkErrorS:

Public Attributes

union { 
 
   struct MkObjectS   obj 
 
super 
 
enum MkErrorE code
 the error code
 
struct MkBuffer1024S text
 the error message
 
MK_I32 num
 the error number also used as exit code
 
bool append
 allow to append? -> true or false
 
bool noRaise
 do not return MK_ERROR and do not raise an target-language-exception
 
MK_OBJN format_of_error
 used to format the error-message and as input for source_of_error
 
MK_MNGN source_of_error
 source of the error, NULL = current context
 
MK_ERREXT mkerrext
 package specific error extension goes into this double linked list
 

Detailed Description

The data-type to store and handle the error-condition

init = MkErrorDefaultObjInit

Definition at line 9085 of file LibMkKernel_mk.h.

Member Data Documentation

◆ append

bool libmkkernel::MkErrorS::append

allow to append? -> true or false

Definition at line 9098 of file LibMkKernel_mk.h.

◆ code

enum MkErrorE libmkkernel::MkErrorS::code

the error code

Definition at line 9095 of file LibMkKernel_mk.h.

◆ format_of_error

MK_OBJN libmkkernel::MkErrorS::format_of_error

used to format the error-message and as input for source_of_error

Definition at line 9101 of file LibMkKernel_mk.h.

◆ mkerrext

MK_ERREXT libmkkernel::MkErrorS::mkerrext

package specific error extension goes into this double linked list

Definition at line 9104 of file LibMkKernel_mk.h.

◆ noRaise

bool libmkkernel::MkErrorS::noRaise

do not return MK_ERROR and do not raise an target-language-exception

Definition at line 9099 of file LibMkKernel_mk.h.

◆ num

MK_I32 libmkkernel::MkErrorS::num

the error number also used as exit code

Definition at line 9097 of file LibMkKernel_mk.h.

◆ obj

struct MkObjectS libmkkernel::MkErrorS::obj

Definition at line 9089 of file LibMkKernel_mk.h.

◆ source_of_error

MK_MNGN libmkkernel::MkErrorS::source_of_error

source of the error, NULL = current context

Definition at line 9102 of file LibMkKernel_mk.h.

◆ [union]

union { ... } libmkkernel::MkErrorS::super

◆ text

struct MkBuffer1024S libmkkernel::MkErrorS::text

the error message

Definition at line 9096 of file LibMkKernel_mk.h.


The documentation for this struct was generated from the following file: