IModelError Class

The error type thrown by this module. See IModelStatus for errorNumber values.


Extended by


Name Description
constructor(errorNumber: number | IModelStatus | DbResult | BentleyStatus | BriefcaseStatus | RepositoryStatus | ChangeSetStatus | RpcInterfaceStatus | AuthStatus, message: string, log?: LogFunction, category?: string, getMetaData?: GetMetaDataFunction): IModelError    

Inherited methods

Name Inherited from Description
_initName(): string Protected BentleyError This function returns the name of each error status.
BentleyError Return the meta data associated with this BentleyError.

Inherited properties

Name Type Inherited from Description
errorNumber number BentleyError  
boolean BentleyError Returns true if this BentleyError includes (optional) meta data.
message string Error  
name string Error  
stack undefined | string Error  

Defined in

Last Updated: 08 January, 2020