Exception: Tumblr::Error::TumblrError
- Inherits:
-
StandardError
- Object
- StandardError
- Tumblr::Error::TumblrError
- Defined in:
- lib/tumblr/error.rb
Direct Known Subclasses
BadGatewayError, BadRequestError, ForbiddenError, InternalServerError, MissingRequiredParameterError, NotFoundError, ServiceUnavailableError, UnauthorizedError
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
Instance Method Summary collapse
-
#initialize(data) ⇒ TumblrError
constructor
A new instance of TumblrError.
Constructor Details
#initialize(data) ⇒ TumblrError
Returns a new instance of TumblrError.
6 7 8 9 |
# File 'lib/tumblr/error.rb', line 6 def initialize(data) @data = data super end |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
4 5 6 |
# File 'lib/tumblr/error.rb', line 4 def data @data end |