Home Identifier Source Repository
import ShopifyAPIError from 'shopify-api-flux/lib/ShopifyAPIError.js'
public class | source

ShopifyAPIError

Extends:

Error → ShopifyAPIError

A base error class for API errors

Constructor Summary

Public Constructor
public

constructor(response: *)

Member Summary

Public Members
public get

The message for this error (including status code and text)

public get

name: string: *

The name of the class of this error

public get

The status code returned from the response

Public Constructors

public constructor(response: *) source

Params:

NameTypeAttributeDescription
response *

Public Members

public get message: string: * source

The message for this error (including status code and text)

Return:

string

public get name: string: * source

The name of the class of this error

Return:

string

public get status: number: * source

The status code returned from the response

Return:

number