Exception: Splicer::Errors::RequestError
- Defined in:
- lib/splicer/errors.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
Instance Method Summary collapse
-
#initialize(message, data = {}) ⇒ RequestError
constructor
A new instance of RequestError.
Constructor Details
#initialize(message, data = {}) ⇒ RequestError
Returns a new instance of RequestError.
9 10 11 12 |
# File 'lib/splicer/errors.rb', line 9 def initialize(, data = {}) super() @data = data end |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
8 9 10 |
# File 'lib/splicer/errors.rb', line 8 def data @data end |