Errors
Classes for working with errors.
Classes
| Name | Description | |
|---|---|---|
| BentleyError | Base exception class for iTwin.js exceptions. | |
| UnexpectedErrors | Utility for handling/reporting unexpected runtime errors. | 
Enumerations
| Name | Description | |
|---|---|---|
| BentleyStatus | Standard status code. | |
| BriefcaseStatus | Error statuses produced by various briefcase operations, typically encountered as the errorNumberof an IModelError. | |
| ChangeSetStatus | Error statuses produced by various Changeset operations, typically encountered as the errorNumberof an IModelError. | |
| GeoServiceStatus | GeoServiceStatus errors | |
| HttpStatus | Status from returned HTTP status code | |
| IModelHubStatus | Statuses produced by APIs that interact with iModelHub, typically encountered as the errorNumberof an IModelError. | |
| IModelStatus | Status codes that are used in conjunction with BentleyError. | |
| RpcInterfaceStatus | RpcInterface status codes | 
Type Aliases
| Name | Description | |
|---|---|---|
| GetMetaDataFunction | A function that returns a metadata object for a BentleyError. | |
| LoggingMetaData | Optional metadata attached to a BentleyError. | |
| OnUnexpectedError | A function to be notified when an unexpected error happens | 
Last Updated: 10 June, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.