API Reference > imodeljs-clients > iTwinServiceClients > ResponseError ResponseError Class Beta Error object that's thrown/rejected if the Request fails due to a network error, or if the status is not in the range of 200-299 (inclusive) Extends BentleyError Extended by AuthenticationError WsgError Methods Name Description constructor(errorNumber: number | HttpStatus, message?: string, getMetaData?: GetMetaDataFunction): ResponseError Inherited methods Name Inherited from Description _initName(): string Protected BentleyError This function returns the name of each error status. getMetaData(): any BentleyError Return the meta data associated with this BentleyError. Properties Name Type Description _data Protected undefined | any description undefined | string status undefined | number Inherited properties Name Type Inherited from Description errorNumber number BentleyError hasMetaData Accessor ReadOnly boolean BentleyError Returns true if this BentleyError includes (optional) meta data. message string Error name string Error stack undefined | string Error Defined in core/clients/src/Request.ts Line 143 Last Updated: 13 June, 2024