Exception: Skittles::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Skittles::Error
- Defined in:
- lib/skittles/error.rb
Overview
Custom error class for rescuing from all known Foursquare errors.
Direct Known Subclasses
BadGateway, BadRequest, GatewayTimeout, InternalServerError, MethodNotAllowed, NotFound, ServiceUnavailable, Unauthorized
Instance Attribute Summary (collapse)
-
- (Object) code
Returns the value of attribute code.
-
- (Object) detail
Returns the value of attribute detail.
-
- (Object) type
Returns the value of attribute type.
Instance Attribute Details
- (Object) code
Returns the value of attribute code
3 4 5 |
# File 'lib/skittles/error.rb', line 3 def code @code end |
- (Object) detail
Returns the value of attribute detail
3 4 5 |
# File 'lib/skittles/error.rb', line 3 def detail @detail end |
- (Object) type
Returns the value of attribute type
3 4 5 |
# File 'lib/skittles/error.rb', line 3 def type @type end |