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.

Defined in

Last Updated: 08 January, 2020