Exception: Sunstone::Exception

Inherits:
RuntimeError
  • Object
show all
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

Defined Under Namespace

Classes: ApiVersionUnsupported, BadGateway, BadRequest, Forbidden, Gone, MovedPermanently, NotFound, ServiceUnavailable, Unauthorized, UnexpectedResponse