Exception: Spree::API::Client::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/spree-api-client/error.rb

Defined Under Namespace

Classes: ClientError, NotFound, Unauthorized, UnprocessableEntity

Constant Summary collapse

ERROR_MAP =
{
  401 => Spree::API::Client::Error::Unauthorized,
  404 => Spree::API::Client::Error::NotFound,
  422 => Spree::API::Client::Error::UnprocessableEntity
}