# ResponseErrorObject Interface
Module | import { ResponseErrorObject } from "@tsed/common" |
---|---|
Source | /packages/common/src/mvc/interfaces/ResponseErrorObject.ts |
# Overview
interface ResponseErrorObject extends Error {
errors?: any[];
origin?: Error;
headers?: {};
}
# Description
Interface can be implemented to customize the error sent to the client.
# Members
errors?: any[];
origin?: Error;
headers?: {};
- Session & cookies
- Passport.js
- TypeORM
- Mongoose
- GraphQL
- Socket.io
- Swagger
- AJV
- Multer
- Serve static files
- Templating
- Throw HTTP Exceptions
- Customize 404
- AWS
- Jest
- Seq
- Controllers
- Providers
- Model
- Converters
- Middlewares
- Pipes
- Interceptors
- Authentication
- Hooks
- Injection scopes
- Custom providers
- Custom endpoint decorator
- Testing