Skip to content

Latest commit

 

History

History
201 lines (109 loc) · 3.98 KB

File metadata and controls

201 lines (109 loc) · 3.98 KB

instagram-private-api / errors / IgUploadVideoError

Class: IgUploadVideoError

errors.IgUploadVideoError

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new IgUploadVideoError(response, videoInfo)

Parameters

Name Type
response IgResponse<UploadRepositoryVideoResponseRootObject>
videoInfo any

Overrides

IgResponseError.constructor

Defined in

src/errors/ig-upload-video-error.ts:6

Properties

message

message: string

Inherited from

IgResponseError.message

Defined in

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


name

name: string

Inherited from

IgResponseError.name

Defined in

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


response

response: IgResponse<any>

Inherited from

IgResponseError.response

Defined in

src/errors/ig-response.error.ts:9


stack

Optional stack: string

Inherited from

IgResponseError.stack

Defined in

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


text

text: string

Inherited from

IgResponseError.text

Defined in

src/errors/ig-response.error.ts:7


videoInfo

videoInfo: any


stackTraceLimit

Static stackTraceLimit: number

Inherited from

IgResponseError.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

IgResponseError.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

IgResponseError.prepareStackTrace

Defined in

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