Skip to the content.

@goodwaygroup/lib-tradedesk - v1.3.1 / InternalServerError

Class: InternalServerError

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

+ new InternalServerError(message: string, response: Response): InternalServerError

Parameters

Name Type
message string
response Response

Returns: InternalServerError

Defined in: src/errors.ts:64

Properties

message

message: string

Defined in: node_modules/typescript/lib/lib.es5.d.ts:974


name

name: string= ‘InternalServerError’

Defined in: src/errors.ts:62


prepareStackTrace

Optional prepareStackTrace: (err: Error, stackTraces: CallSite[]) => any

Optional override for formatting stack traces

see https://github.com/v8/v8/wiki/Stack%20Trace%20API#customizing-stack-traces

Type declaration

▸ (err: Error, stackTraces: CallSite[]): any

Parameters

Name Type
err Error
stackTraces CallSite[]

Returns: any

Defined in: node_modules/@types/node/globals.d.ts:11


response

response: Response

Defined in: src/errors.ts:64


stack

Optional stack: string

Defined in: node_modules/typescript/lib/lib.es5.d.ts:975


stackTraceLimit

stackTraceLimit: number

Defined in: node_modules/@types/node/globals.d.ts:13

Methods

captureStackTrace

captureStackTrace(targetObject: object, constructorOpt?: Function): void

Create .stack property on a target object

Parameters

Name Type
targetObject object
constructorOpt? Function

Returns: void

Defined in: node_modules/@types/node/globals.d.ts:4