Interface
IResponseErrorModule | import { IResponseError } from "@tsed/common" |
---|---|
Source | /packages/common/src/mvc/interfaces/IResponseError.ts |
Overview
interface IResponseError extends Error {
errors?: any[];
origin?: Error;
headers?: IResponseHeaders;
}
Description
Interface can be implemented to customize the error sent to the client.
Members
errors?: any[]
origin?: Error
headers?: IResponseHeaders