IErrorsSettings Interface

Module
import { IErrorsSettings } from "@tsed/common"
Source/packages/common/src/config/interfaces/IServerSettings.ts

Overview

interface IErrorsSettings {
    headerName?: string;
}

Members

headerName?: string

Change the name of the header field used by GlobalErrorHandlerMiddleware to sent the errors in the response headers.