constructor Method
Creates an instance of Error.
PresentationError(errorNumber: PresentationStatus, message?: string, getMetaData?: GetMetaDataFunction): PresentationError
| Parameter | Type | Description | 
|---|---|---|
| errorNumber | PresentationStatus | Error code | 
| string | Optional brief description of the error. The messageproperty combined with thenameproperty is used by the Error.prototype.toString()method to create a string representation of the Error. | |
| getMetaData | GetMetaDataFunction | Optional function that returns meta-data related to an error. | 
Returns - PresentationError
Defined in
Last Updated: 24 June, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.