Skip to content

Opensearch dashboards.responseerror

Home > opensearch-dashboards > ResponseError

ResponseError type

Error message and optional data send to the client in case of error.

Signature:

export declare type ResponseError = string | Error | {
    message: string | Error;
    attributes?: ResponseErrorAttributes;
};

References: ResponseErrorAttributes