API Reference > core-bentley > Errors > OnUnexpectedError OnUnexpectedError Type alias OnUnexpectedError = (error: any) => void Defined in core/bentley/src/UnexpectedErrors.ts Line 14 Last Updated: 20 June, 2023