Exception: Audd::SerializationError
- Defined in:
- lib/audd/errors.rb
Overview
A 2xx response whose body wasn't parseable JSON.
Instance Attribute Summary collapse
-
#raw_body ⇒ Object
readonly
Returns the value of attribute raw_body.
Instance Method Summary collapse
-
#initialize(message, raw_body: "") ⇒ SerializationError
constructor
A new instance of SerializationError.
Constructor Details
#initialize(message, raw_body: "") ⇒ SerializationError
Returns a new instance of SerializationError.
29 30 31 32 |
# File 'lib/audd/errors.rb', line 29 def initialize(, raw_body: "") @raw_body = raw_body super() end |
Instance Attribute Details
#raw_body ⇒ Object (readonly)
Returns the value of attribute raw_body.
27 28 29 |
# File 'lib/audd/errors.rb', line 27 def raw_body @raw_body end |