Class ResponseAlreadySentError

Error thrown when the server tries to re-send a response that has already been sent.

Hierarchy

Constructors

Properties

cause?: unknown
context: {
    [key: string]: any;
} = {}

Type declaration

  • [key: string]: any
message: string
name: string
originalError?: Error
response: Response
stack?: string
prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

Type declaration

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void