OSAPI  0.29
Open System API
ERROR

The error management module. More...

Collaboration diagram for ERROR:

Functions

const char * error_string_get (t_module module, t_error code)
 Get the error string for an OSAPI module and error number. More...
 
bool error_code_isValid (t_module module, t_error code)
 Verify if a given error number is valid for the provided OSAPI module. More...
 

Detailed Description

The error management module.


Function Documentation

◆ error_code_isValid()

bool error_code_isValid ( t_module  module,
t_error  code 
)

Verify if a given error number is valid for the provided OSAPI module.

Parameters
[in]module- The module number
[in]code- The error code
Returns
True or False
Here is the caller graph for this function:

◆ error_string_get()

const char* error_string_get ( t_module  module,
t_error  code 
)

Get the error string for an OSAPI module and error number.

Parameters
[in]module- The module number
[in]code- The error code
Returns
Formated error string
Here is the call graph for this function:
Here is the caller graph for this function: