Error

ErrorSetSeverity

Set the severity of the error

Syntax

Signature
xBool       ErrorSetSeverity( Error *error, int severity );

Arguments

error the Error object to change.

severity an ES_... constant of xdev-wtui-error.h, from ES_WHOCARES to ES_CATASTROPHIC.

Return value

T on success, or F if the object is NULL or severity is outside ES_WHOCARES to ES_CATASTROPHIC; the severity then stays unchanged.

See also