yumapro  24.10-3
YumaPro SDK
Loading...
Searching...
No Matches
status.h File Reference

Global error messages for status code enumerations. More...

#include "status_enum.h"
Include dependency graph for status.h:

Go to the source code of this file.

Functions

status_t set_error (const char *filename, int linenum, status_t status, int sqlError)
 Generate an internal programming error report. More...
 
void print_errors (void)
 Dump any entries stored in the error_stack.
 
void clear_errors (void)
 Clear the error_stack if it has any errors stored in it. More...
 
errtyp_t get_errtyp (status_t res)
 Get the error classification for the result code. More...
 
const char * get_error_string (status_t res)
 Get the error message for a specific internal error. More...
 
status_t errno_to_status (void)
 Get the errno variable and convert it to a status_t. More...
 
void status_init (void)
 Init this module. More...
 
void status_cleanup (void)
 Cleanup this module. More...
 
void print_error_count (void)
 Print the error_count field, if it is non-zero to STDOUT or the logfile. More...
 
void print_error_messages (void)
 Print the error number and error message for each error to STDOUT or the logfile. More...
 
void print_lang_error_messages (void)
 Print the error number and error message for each error to STDOUT or the logfile; used for error messages in multiple languages. More...
 
boolean is_yang_warning (status_t res)
 Check if the status code represents a YANG warning. More...
 

Detailed Description

Global error messages for status code enumerations.