ResponseError

ResponseError

The error structure returned when a network call fails

Constructor

new ResponseError(message, path, response)

Construct a new ResponseError

Parameters:
Name Type Description
message string

an message to return instead of the the default error message

path string

the requested path

response Object

the object returned by Axios

Source: