API Reference > presentation-common > Core > PresentationError PresentationError Class An error type thrown by Presentation APIs. Extends BentleyError Methods Name Description constructor(errorNumber: PresentationStatus, message?: string, log?: LogFunction, getMetaData?: GetMetaDataFunction): PresentationError Creates an instance of Error. _initName(): string Protected Returns the name of each error status. Inherited methods Name Inherited from Description 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 presentation/common/src/Error.ts Line 42 Last Updated: 13 June, 2024