instagram-private-api / errors / IgClientError
errors.IgClientError
-
CustomError↳
IgClientError↳↳
IgParseError
• new IgClientError(message?)
| Name | Type | Default value |
|---|---|---|
message |
string |
'Instagram API error was made.' |
CustomError.constructor
src/errors/ig-client.error.ts:4
• message: string
CustomError.message
node_modules/typescript/lib/lib.es5.d.ts:974
• name: string
CustomError.name
node_modules/ts-custom-error/dist/custom-error.d.ts:2
• Optional stack: string
CustomError.stack
node_modules/typescript/lib/lib.es5.d.ts:975
▪ Static stackTraceLimit: number
CustomError.stackTraceLimit
node_modules/@types/node/globals.d.ts:142
▸ Static captureStackTrace(targetObject, constructorOpt?): void
Create .stack property on a target object
| Name | Type |
|---|---|
targetObject |
Object |
constructorOpt? |
Function |
void
CustomError.captureStackTrace
node_modules/@types/node/globals.d.ts:133
▸ 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
| Name | Type |
|---|---|
err |
Error |
stackTraces |
CallSite[] |
any
CustomError.prepareStackTrace
node_modules/@types/node/globals.d.ts:140