API Reference > imodeljs-common > iModels > ServerError ServerError Class Extends IModelError Extended by ServerTimeoutError Methods Name Description constructor(errorNumber: number, message: string, log?: LogFunction): ServerError 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 26 Last Updated: 11 June, 2024