Luna::get_error_code_category
errcat_t get_error_code_category(ErrCode err_code)
Fetches the error category that holds the error code.
Parameters
-
in err_code
The error code value.
Return value
Returns the error category that holds the error code, or 0 if the error code does not exist.