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

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

#include <LibMkKernel_mk.h>

+ Collaboration diagram for MkErrorS:

Data Fields

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 9413 of file LibMkKernel_mk.h.

Field Documentation

◆ append

bool MkErrorS::append

allow to append? -> true or false

Definition at line 9426 of file LibMkKernel_mk.h.

◆ code

enum MkErrorE MkErrorS::code

the error code

Definition at line 9423 of file LibMkKernel_mk.h.

◆ format_of_error

MK_OBJN MkErrorS::format_of_error

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

Definition at line 9429 of file LibMkKernel_mk.h.

◆ mkErrExt

MK_ERREXT MkErrorS::mkErrExt

package specific error extension goes into this double linked list

Definition at line 9432 of file LibMkKernel_mk.h.

◆ noRaise

bool MkErrorS::noRaise

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

Definition at line 9427 of file LibMkKernel_mk.h.

◆ num

MK_I32 MkErrorS::num

the error number also used as exit code

Definition at line 9425 of file LibMkKernel_mk.h.

◆ obj

struct MkObjectS MkErrorS::obj

Definition at line 9417 of file LibMkKernel_mk.h.

◆ source_of_error

MK_MNGN MkErrorS::source_of_error

source of the error, NULL = current context

Definition at line 9430 of file LibMkKernel_mk.h.

◆ [union]

union { ... } MkErrorS::super

◆ text

struct MkBuffer1024S MkErrorS::text

the error message

Definition at line 9424 of file LibMkKernel_mk.h.


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