|
Entropic 2.3.8
Local-first agentic inference engine
|
Error type implementations for librentropic-types. More...
#include <entropic/types/error.h>
Go to the source code of this file.
Functions | |
| const char * | entropic_error_name (entropic_error_t code) |
| Get the human-readable name for an error code. | |
| entropic_error_t | entropic_set_error_callback (entropic_handle_t handle, entropic_error_callback_t callback, void *user_data) |
| Register an error callback on a handle. | |
Variables | |
| static const char *const | s_error_names [] |
| Lookup table: error code → name string. | |
| static constexpr int | s_error_count |
| const char * entropic_error_name | ( | entropic_error_t | code | ) |
| entropic_error_t entropic_set_error_callback | ( | entropic_handle_t | handle, |
| entropic_error_callback_t | callback, | ||
| void * | user_data | ||
| ) |
Register an error callback on a handle.
| handle | Engine handle. |
| callback | Callback function, or NULL to remove. |
| user_data | Opaque pointer forwarded to callback. |
|
staticconstexpr |