SpotifyApiSpotify LogoJS

SpotifyAPIError src/Error.ts#L20

extends Error

This error mostly occurs when the spotify api responses an invalid json format! You can view up all the spotify web api responses, request types, etc here


Properties:

message name response stack prepareStackTrace stackTraceLimit

Methods:

captureStackTrace

constructor(response) src/Error.ts#L20

No documentation found.

NameTypeDescription
responsestring | AxiosError<any, any>

.message

Type:

string

No documentation found.

.name

Type:

string

No documentation found.

.response src/Error.ts#L12
OPTIONAL

Type:

AxiosResponse<any, any>

The response from the axios if the error is based on the failiure of request.

.stack
OPTIONAL

Type:

string

No documentation found.

.prepareStackTrace
OPTIONAL
STATIC

Type:

Function

No documentation found.

.stackTraceLimit
STATIC

Type:

number

No documentation found.

.captureStackTrace(targetObject, constructorOpt)
STATIC

Create .stack property on a target object

Returns:

void

Parameters:

NameTypeDescription
targetObjectobject
constructorOptFunction
OPTIONAL