API Reference > presentation-common > Core > PresentationError > constructor constructor Method Creates an instance of Error. PresentationError(errorNumber: PresentationStatus, message?: string, log?: LogFunction, getMetaData?: GetMetaDataFunction): PresentationError Parameter Type Description errorNumber PresentationStatus Error code message string Optional brief description of the error. The message property combined with the nameproperty is used by the Error.prototype.toString() method to create a string representation of the Error. log LogFunction Optional log function which logs the error. getMetaData GetMetaDataFunction Optional function that returns meta-data related to an error. Returns - PresentationError Defined in presentation/common/src/presentation-common/Error.ts Line 76 Last Updated: 12 June, 2024