Opensearch dashboards.savedobjectserrorhelpers.decorategeneralerror
Home > opensearch-dashboards > SavedObjectsErrorHelpers > decorateGeneralError
SavedObjectsErrorHelpers.decorateGeneralError() method
Signature:
static decorateGeneralError(error: Error, reason?: string): DecoratedError;
Parameters
Parameter | Type | Description |
---|---|---|
error | Error | |
reason | string |
Returns:
DecoratedError