Exception: Sunstone::Exception
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Sunstone::Exception
- Defined in:
- lib/sunstone/exception.rb
Overview
RuntimeErrors don’t get translated by Rails into ActiveRecord::StatementInvalid which StandardError do. Would rather use StandardError, but it’s usefull with Sunstone to know when something raises a Sunstone::Exception::NotFound or Forbidden
Direct Known Subclasses
ApiVersionUnsupported, BadGateway, BadRequest, Forbidden, Gone, MovedPermanently, NotFound, ServiceUnavailable, Unauthorized, UnexpectedResponse
Defined Under Namespace
Classes: ApiVersionUnsupported, BadGateway, BadRequest, Forbidden, Gone, MovedPermanently, NotFound, ServiceUnavailable, Unauthorized, UnexpectedResponse