IModelHubError Class

Beta

Error returned from iModelHub service.

Extends

Extended by

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.
getErrorStatus(errorId: number, httpStatusType: number): number Static WsgError Gets error status from current WSError and HTTP Status type
getWSStatusId(error: string): number Static WsgError Get WSError from error string

Properties

Name Type Description
data any Extended data of the error.  

Inherited properties

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

Defined in

Last Updated: 20 September, 2019