Exception: MetaSpotify::MetaSpotifyError
- Inherits:
-
StandardError
- Object
- StandardError
- MetaSpotify::MetaSpotifyError
- Defined in:
- lib/meta-spotify.rb
Direct Known Subclasses
BadRequestError, NotFoundError, RateLimitError, ServerError, URIError
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
Instance Method Summary collapse
-
#initialize(data) ⇒ MetaSpotifyError
constructor
A new instance of MetaSpotifyError.
Constructor Details
#initialize(data) ⇒ MetaSpotifyError
Returns a new instance of MetaSpotifyError.
114 115 116 117 |
# File 'lib/meta-spotify.rb', line 114 def initialize(data) @data = data super end |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
112 113 114 |
# File 'lib/meta-spotify.rb', line 112 def data @data end |