Adaptive Framework
0.9.0
|
Adaptive Framework Error. More...
#include <afw_error.h>
Data Fields | |
afw_xctx_t * | xctx |
afw_error_code_t | code |
Error code. | |
const afw_utf8_z_t * | source_z |
File:line in source error was thrown. | |
const afw_utf8_z_t * | message_z |
Message. | |
const afw_compile_value_contextual_t * | contextual |
Contextual information or NULL. | |
const afw_utf8_z_t * | rv_source_id_z |
This is the source of the non-zero rv. | |
const afw_utf8_z_t * | rv_decoded_z |
Human readable decode of rv. | |
const afw_utf8_t * | backtrace |
If not memory error and afw_os_backtrace() supplies one. | |
afw_size_t | parser_cursor |
If syntax error, this is cursor when parse error occurred or 0. More... | |
const afw_utf8_t * | parser_source |
If syntax error, this is partial/full source or NULL. More... | |
int | rv |
If non-zero, this is rc, rv, or any int value related to error. | |
afw_boolean_t | recursive_error |
Recursive error. | |
afw_boolean_t | recursive_error_in_finally |
Recursive error in finally. | |
afw_utf8_z_t | decode_rv_wa [23] |
Place to optionally hold rv_decoded_z. | |
afw_utf8_z_t | decode_rv_wa_safety_zero_terminator |
Makes sure there is a zero terminator after decode_rv_wa. | |
afw_utf8_z_t | message_wa [255] |
Place to optionally hold message_z. | |
afw_utf8_z_t | message_wa_safety_zero_terminator |
Makes sure there is a zero terminator after message_wa. | |
Adaptive Framework Error.
All but xctx is cleared on AFW_ERROR_CLEAR_PARTIAL().
Definition at line 65 of file afw_error.h.
afw_size_t parser_cursor |
If syntax error, this is cursor when parse error occurred or 0.
This is a UTF-8 octet cursor at the time the syntax error was discovered.
Use this as an offset in parser_source if it is available.
Definition at line 101 of file afw_error.h.
const afw_utf8_t* parser_source |
If syntax error, this is partial/full source or NULL.
If this is Not NULL, this is the compiler source that was available at the time of the syntax error.
Definition at line 109 of file afw_error.h.