API Reference > imodeljs-common > iModels > BackendError BackendError Class Extends IModelError Methods Name Description constructor(errorNumber: number, name: string, message: string, log?: LogFunction, category?: string, getMetaData?: GetMetaDataFunction): BackendError Construct a new BentleyError Inherited methods Name Inherited from Description _initName(): string Protected IModelError This function returns the name of each error status. getMetaData(): any IModelError Return the meta data associated with this BentleyError. Inherited properties Name Type Inherited from Description errorNumber number IModelError hasMetaData Accessor ReadOnly boolean IModelError Returns true if this BentleyError includes (optional) meta data. Defined in core/common/src/IModelError.ts Line 42 Last Updated: 12 June, 2024