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 errorNumber of an IModelError.  
ChangeSetStatus Error statuses produced by various Changeset operations, typically encountered as the errorNumber of 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 errorNumber of an IModelError.  
IModelStatus Status codes that are used in conjunction with BentleyError.  
RpcInterfaceStatus RpcInterface status codes  

Type Aliases

Name Description  
GetMetaDataFunction  
Optional metadata attached to a BentleyError.  
OnUnexpectedError  

Last Updated: 03 April, 2024