Cognite JavaScript SDK > CogniteSDKError

Class: CogniteSDKError

Hierarchy

Error

↳ CogniteSDKError

Index

Constructors

Properties


Constructors

constructor

new CogniteSDKError(errorMessage: string, status: number, requestId?: * undefined | string*): CogniteSDKError

Defined in core.ts:13

Parameters:

Name Type
errorMessage string
status number
Optional requestId undefined | string

Returns: CogniteSDKError


Properties

message

● message: string

Inherited from Error.message

Defined in /home/travis/build/cognitedata/cognitesdk-js/node_modules/typedoc/node_modules/typescript/lib/lib.es5.d.ts:904


name

● name: string

Inherited from Error.name

Defined in /home/travis/build/cognitedata/cognitesdk-js/node_modules/typedoc/node_modules/typescript/lib/lib.es5.d.ts:903


<Optional> requestId

● requestId: * undefined | string *

Defined in core.ts:13


<Optional> stack

● stack: * undefined | string *

Inherited from Error.stack

Overrides Error.stack

Defined in /home/travis/build/cognitedata/cognitesdk-js/node_modules/typedoc/node_modules/typescript/lib/lib.es5.d.ts:905


status

● status: number

Defined in core.ts:12


<Static> Error

● Error: ErrorConstructor

Defined in /home/travis/build/cognitedata/cognitesdk-js/node_modules/typedoc/node_modules/typescript/lib/lib.es5.d.ts:914