@goodwaygroup/lib-tradedesk - v1.3.1 / BadRequestError
Class: BadRequestError
Hierarchy
-
Error
↳ BadRequestError
Table of contents
Constructors
Properties
Methods
Constructors
constructor
+ new BadRequestError(message
: string, response
: Response): BadRequestError
Parameters
Name | Type |
---|---|
message |
string |
response |
Response |
Returns: BadRequestError
Defined in: src/errors.ts:20
Properties
message
• message: string
Defined in: node_modules/typescript/lib/lib.es5.d.ts:974
name
• name: string= ‘BadRequestError’
Defined in: src/errors.ts:18
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:20
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