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