Syntax
int ErrorGetSeverity( const Error *error );
Return value
An `ES_...` constant of xdev-wtui-error.h, or 0 if the object is NULL.
Description
`ES_WHOCARES` is not a failure, `ES_WARNING` lets further operations go on, `ES_ERROR` needs a correction first, and `ES_CATASTROPHIC` requires the program to end.