API Reference > imodeljs-backend > iModels > TxnManager > reportError 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 core/backend/src/TxnManager.ts Line 314 Last Updated: 12 June, 2024