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