Error

ErrorSetCanSubstitute

Set whether a new result can replace the result of the operation

Syntax

Signature
xBool       ErrorSetCanSubstitute( Error *error, xBool canSubstitute );

Arguments

error the Error object to change.

canSubstitute T when a substitution is possible.

Return value

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

Description

In xBase, canSubstitute is never T together with canDefault or canRetry. The setter does not enforce this rule and does not change the other two values.

See also