Exception: SabyVok::ParsingError
- Defined in:
- lib/saby_vok/errors.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
readonly
Returns the value of attribute body.
Instance Method Summary collapse
-
#initialize(message, body:) ⇒ ParsingError
constructor
A new instance of ParsingError.
Constructor Details
#initialize(message, body:) ⇒ ParsingError
Returns a new instance of ParsingError.
31 32 33 34 |
# File 'lib/saby_vok/errors.rb', line 31 def initialize(, body:) super() @body = body end |
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body.
29 30 31 |
# File 'lib/saby_vok/errors.rb', line 29 def body @body end |