Skip to main content
Version: Next

ErrorResponseBody

Home > @backstage/errors > ErrorResponseBody

A standard shape of JSON data returned as the body of backend errors.

Signature:

export type ErrorResponseBody = {
error: SerializedError;
request?: {
method: string;
url: string;
};
response: {
statusCode: number;
};
};

References: SerializedError