Skip to content

@nht-pandats/sdk / @nht-pandats/sdk/clients / @nht-pandats/sdk/clients/affiliateApi / AffiliateApiAuthenticationError

Class: AffiliateApiAuthenticationError ​

@nht-pandats/sdk/clients.@nht-pandats/sdk/clients/affiliateApi.AffiliateApiAuthenticationError

Error thrown when the Affiliate API client fails to authenticate with the API.

Hierarchy ​

  • Error

    ↳ AffiliateApiAuthenticationError

Constructors ​

constructor ​

• new AffiliateApiAuthenticationError(message?, response?): AffiliateApiAuthenticationError

Parameters ​

NameType
message?string
response?AxiosResponse<any, any>

Returns ​

AffiliateApiAuthenticationError

Overrides ​

Error.constructor

Defined in ​

src/clients/affiliateApi/errors.ts:13

Properties ​

response ​

• Optional Readonly response: AxiosResponse<any, any>

The response from the API.

Defined in ​

src/clients/affiliateApi/errors.ts:11