|
x-engine-c v0.2.13
The C engine for x-lang
|
The raised-error type: a structured error value the language owns. More...
Functions | |
| x_obj_t * | x_type_err_struct (x_obj_t *p_base, x_obj_t *p_obj) |
| x_obj_t * | x_type_err_register (x_obj_t *p_base, x_obj_t *p_args) |
Variables | |
| x_satom_t | x_type_err_name |
| x_satom_t | x_type_err_struct_prim |
The raised-error type: a structured error value the language owns.
Register or retrieve the ERR type on the base context.
| p_base | x_obj_t* – Base (execution context) |
| p_args | x_obj_t* – Unused |
Build the ERR type descriptor.
Name only. No make handler: an ERR is not constructed from x-lang – the base owns the single instance and the raise path fills it. No write or display handler either: those stacks are the language's extension point and boot empty on purpose, so an ERR renders as the bounded #<obj:ERR> form until x-lang's err-io.x pushes the prose.
| p_base | x_obj_t* – Base (execution context) |
| p_obj | x_obj_t* – Unused |
| x_satom_t x_type_err_name |
| x_satom_t x_type_err_struct_prim |