Lines Matching refs:error
13 #include <camkes/error.h>
18 /* The default error handler that is invoked if no other error handler is
21 static camkes_error_action_t default_error_handler(camkes_error_t *error)
23 fprintf(stderr, "-- %s --\n", error->instance);
24 switch (error->type) {
28 "up to %u bytes\n", error->target_length);
33 error->invalid_index);
51 fprintf(stderr, "Occurred at %s:%lu\n", error->filename, error->lineno);
52 fprintf(stderr, "Details: %s\n", error->description);
57 /* Currently active error handler. */