int ErrorNumber_ns ( const report_ns*  error )

Given a report error, this returns its error number, which identifies what type of error it is.


This function is available in all versions.

See also:

ErrorCategory_ns    Returns a more general categorization of the error
ErrorMessage_ns    Returns a complete error message
GetError_ns    Obtains the report_ns in the first place