Skip to the content.

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

Class: ForbiddenError

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

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

Parameters

Name Type
message string
response Response

Returns: ForbiddenError

Defined in: src/errors.ts:31

Properties

message

message: string

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


name

name: string= ‘ForbiddenError’

Defined in: src/errors.ts:29


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:31


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