Github User Fetcher 1.0.0
C Application with Server and GUI
|
#include "duk_internal.h"
Go to the source code of this file.
Macros | |
#define | DUK__ERRFMT_BUFSIZE 256 /* size for formatting buffers */ |
Functions | |
DUK_INTERNAL void | duk_err_handle_error_fmt (duk_hthread *thr, const char *filename, duk_uint_t line_and_code, const char *fmt,...) |
DUK_INTERNAL void | duk_err_handle_error (duk_hthread *thr, const char *filename, duk_uint_t line_and_code, const char *msg) |
DUK_INTERNAL void | duk_err_require_type_index (duk_hthread *thr, const char *filename, duk_int_t linenumber, duk_idx_t index, const char *expect_name) |
DUK_INTERNAL void | duk_err_range (duk_hthread *thr, const char *filename, duk_int_t linenumber, const char *message) |
DUK_INTERNAL void | duk_err_api_index (duk_hthread *thr, const char *filename, duk_int_t linenumber, duk_idx_t index) |
DUK_INTERNAL void | duk_err_api (duk_hthread *thr, const char *filename, duk_int_t linenumber, const char *message) |
DUK_INTERNAL void | duk_err_unimplemented_defmsg (duk_hthread *thr, const char *filename, duk_int_t linenumber) |
DUK_INTERNAL void | duk_err_internal_defmsg (duk_hthread *thr, const char *filename, duk_int_t linenumber) |
DUK_INTERNAL void | duk_err_internal (duk_hthread *thr, const char *filename, duk_int_t linenumber, const char *message) |
DUK_INTERNAL void | duk_err_alloc (duk_hthread *thr, const char *filename, duk_int_t linenumber, const char *message) |
DUK_INTERNAL void | duk_default_fatal_handler (duk_context *ctx, duk_errcode_t code, const char *msg) |
DUK_INTERNAL void | duk_default_panic_handler (duk_errcode_t code, const char *msg) |
#define DUK__ERRFMT_BUFSIZE 256 /* size for formatting buffers */ |
Definition at line 7 of file duktape-1.8.0/src-separate/duk_error_macros.c.
Referenced by duk_err_handle_error_fmt().
DUK_INTERNAL void duk_default_fatal_handler | ( | duk_context * | ctx, |
duk_errcode_t | code, | ||
const char * | msg ) |
Definition at line 109 of file duktape-1.8.0/src-separate/duk_error_macros.c.
References DUK_D, DUK_DPRINT, DUK_FFLUSH, DUK_FPRINTF, DUK_PANIC, DUK_STDERR, DUK_UNREACHABLE, and DUK_UNREF.
DUK_INTERNAL void duk_default_panic_handler | ( | duk_errcode_t | code, |
const char * | msg ) |
Definition at line 127 of file duktape-1.8.0/src-separate/duk_error_macros.c.
References DUK_ABORT, DUK_CAUSE_SEGFAULT, DUK_EXIT, DUK_FFLUSH, DUK_FPRINTF, DUK_STDERR, DUK_UNREACHABLE, DUK_UNREF, DUK_USE_PANIC_ABORT, and error().
DUK_INTERNAL void duk_err_alloc | ( | duk_hthread * | thr, |
const char * | filename, | ||
duk_int_t | linenumber, | ||
const char * | message ) |
Definition at line 72 of file duktape-1.8.0/src-separate/duk_error_macros.c.
References DUK_ERR_ALLOC_ERROR, and DUK_ERROR_RAW.
DUK_INTERNAL void duk_err_api | ( | duk_hthread * | thr, |
const char * | filename, | ||
duk_int_t | linenumber, | ||
const char * | message ) |
Definition at line 55 of file duktape-1.8.0/src-separate/duk_error_macros.c.
References DUK_ERR_API_ERROR, and DUK_ERROR_RAW.
DUK_INTERNAL void duk_err_api_index | ( | duk_hthread * | thr, |
const char * | filename, | ||
duk_int_t | linenumber, | ||
duk_idx_t | index ) |
Definition at line 52 of file duktape-1.8.0/src-separate/duk_error_macros.c.
References DUK_ERR_API_ERROR, DUK_ERROR_RAW_FMT1, and index.
DUK_INTERNAL void duk_err_handle_error | ( | duk_hthread * | thr, |
const char * | filename, | ||
duk_uint_t | line_and_code, | ||
const char * | msg ) |
Definition at line 21 of file duktape-1.8.0/src-separate/duk_error_macros.c.
References duk_err_create_and_throw().
DUK_INTERNAL void duk_err_handle_error_fmt | ( | duk_hthread * | thr, |
const char * | filename, | ||
duk_uint_t | line_and_code, | ||
const char * | fmt, | ||
... ) |
Definition at line 11 of file duktape-1.8.0/src-separate/duk_error_macros.c.
References DUK__ERRFMT_BUFSIZE, duk_err_create_and_throw(), and DUK_VSNPRINTF.
DUK_INTERNAL void duk_err_internal | ( | duk_hthread * | thr, |
const char * | filename, | ||
duk_int_t | linenumber, | ||
const char * | message ) |
Definition at line 69 of file duktape-1.8.0/src-separate/duk_error_macros.c.
References DUK_ERR_INTERNAL_ERROR, and DUK_ERROR_RAW.
DUK_INTERNAL void duk_err_internal_defmsg | ( | duk_hthread * | thr, |
const char * | filename, | ||
duk_int_t | linenumber ) |
Definition at line 66 of file duktape-1.8.0/src-separate/duk_error_macros.c.
References DUK_ERR_INTERNAL_ERROR, DUK_ERROR_RAW, and DUK_STR_INTERNAL_ERROR.
DUK_INTERNAL void duk_err_range | ( | duk_hthread * | thr, |
const char * | filename, | ||
duk_int_t | linenumber, | ||
const char * | message ) |
Definition at line 49 of file duktape-1.8.0/src-separate/duk_error_macros.c.
References DUK_ERR_RANGE_ERROR, and DUK_ERROR_RAW.
DUK_INTERNAL void duk_err_require_type_index | ( | duk_hthread * | thr, |
const char * | filename, | ||
duk_int_t | linenumber, | ||
duk_idx_t | index, | ||
const char * | expect_name ) |
Definition at line 44 of file duktape-1.8.0/src-separate/duk_error_macros.c.
References DUK_ERR_TYPE_ERROR, DUK_ERROR_RAW_FMT3, duk_push_string_readable(), and index.
DUK_INTERNAL void duk_err_unimplemented_defmsg | ( | duk_hthread * | thr, |
const char * | filename, | ||
duk_int_t | linenumber ) |
Definition at line 58 of file duktape-1.8.0/src-separate/duk_error_macros.c.
References DUK_ERR_UNIMPLEMENTED_ERROR, DUK_ERROR_RAW, and DUK_STR_UNIMPLEMENTED.