reportError Method

Dependency handlers may call method this to report a validation error.

reportError(error: ValidationError): void

Parameter Type Description
error ValidationError The error. If error.fatal === true, the transaction will cancel rather than commit.

Returns - void

Defined in

Last Updated: 14 November, 2024