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/IModelDb.ts Line 2197 Last Updated: 13 June, 2024