Error

ErrorSetDescription

Set the description of the error

Syntax

Signature
xBool       ErrorSetDescription( Error *error, const char *description );

Arguments

error the Error object to change.

description the text to copy, or NULL for an empty string.

Return value

T on success, or F if the object is NULL.

Description

In xBase, an error with a genCode other than 0 always has a description.

See also