# IErrorsSettings Interface deprecated
Module | import { IErrorsSettings } from "@tsed/common" |
---|---|
Source | /packages/common/src/config/interfaces/IErrorSettings.ts |
# Overview
interface IErrorsSettings {
/**
* Change the name of the header field used by GlobalErrorHandlerMiddleware
* to sent the errors in the response headers.
* @deprecated Will be removed in v6
*/
headerName?: string;
}
# Members
headerName?: string;
Change the name of the header field used by GlobalErrorHandlerMiddleware to sent the errors in the response 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