Exception: Blather::ParseError
- Inherits:
-
BlatherError
- Object
- StandardError
- BlatherError
- Blather::ParseError
- Defined in:
- lib/blather/errors.rb
Overview
Something bad happened while parsing the incoming stream
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(msg) ⇒ ParseError
constructor
A new instance of ParseError.
Methods inherited from BlatherError
Constructor Details
#initialize(msg) ⇒ ParseError
Returns a new instance of ParseError.
64 65 66 |
# File 'lib/blather/errors.rb', line 64 def initialize(msg) @message = msg.to_s end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
62 63 64 |
# File 'lib/blather/errors.rb', line 62 def @message end |