Exception: MercuryParser::Error
- Inherits:
-
StandardError
- Object
- StandardError
- MercuryParser::Error
- Defined in:
- lib/mercury_parser/error.rb
Direct Known Subclasses
BadRequest, ClientError, ConfigurationError, Forbidden, InternalServerError, NotFound, RequestError, UnauthorizedRequest
Defined Under Namespace
Classes: BadRequest, ClientError, ConfigurationError, Forbidden, InternalServerError, NotFound, RequestError, UnauthorizedRequest
Constant Summary collapse
- ERROR_MAP =
{ 400 => MercuryParser::Error::BadRequest, 401 => MercuryParser::Error::UnauthorizedRequest, 403 => MercuryParser::Error::Forbidden, 404 => MercuryParser::Error::NotFound, 500 => MercuryParser::Error::InternalServerError }