# 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.