API Reference > imodelhub-client > iModelHubClient > IModelHubError IModelHubError Class Error returned from iModelHub service. Extends WsgError Extended by IModelHubClientError Inherited methods Name Inherited from Description _initName(): string Protected WsgError This function returns the name of each error status. getMetaData(): any WsgError 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 WsgError description undefined | string WsgError errorNumber number WsgError hasMetaData Accessor ReadOnly boolean WsgError Returns true if this BentleyError includes (optional) meta data. status undefined | number WsgError Defined in clients/imodelhub/src/imodelhub/Errors.ts Line 20 Last Updated: 12 June, 2024