Skip to content

Latest commit

 

History

History
179 lines (96 loc) · 3.01 KB

File metadata and controls

179 lines (96 loc) · 3.01 KB

instagram-private-api / errors / IgClientError

Class: IgClientError

errors.IgClientError

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new IgClientError(message?)

Parameters

Name Type Default value
message string 'Instagram API error was made.'

Overrides

CustomError.constructor

Defined in

src/errors/ig-client.error.ts:4

Properties

message

message: string

Inherited from

CustomError.message

Defined in

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


name

name: string

Inherited from

CustomError.name

Defined in

node_modules/ts-custom-error/dist/custom-error.d.ts:2


stack

Optional stack: string

Inherited from

CustomError.stack

Defined in

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


stackTraceLimit

Static stackTraceLimit: number

Inherited from

CustomError.stackTraceLimit

Defined in

node_modules/@types/node/globals.d.ts:142

Methods

captureStackTrace

Static captureStackTrace(targetObject, constructorOpt?): void

Create .stack property on a target object

Parameters

Name Type
targetObject Object
constructorOpt? Function

Returns

void

Inherited from

CustomError.captureStackTrace

Defined in

node_modules/@types/node/globals.d.ts:133


prepareStackTrace

Static Optional prepareStackTrace(err, stackTraces): any

Optional override for formatting stack traces

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

Parameters

Name Type
err Error
stackTraces CallSite[]

Returns

any

Inherited from

CustomError.prepareStackTrace

Defined in

node_modules/@types/node/globals.d.ts:140