Exception: Blather::ParseError

Inherits:
BlatherError show all
Defined in:
lib/blather/errors.rb

Overview

Something bad happened while parsing the incoming stream

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from BlatherError

handler_list, #id, register

Constructor Details

#initialize(msg) ⇒ ParseError

Returns a new instance of ParseError.



54
55
56
# File 'lib/blather/errors.rb', line 54

def initialize(msg)
  @message = msg.to_s
end

Instance Attribute Details

#messageObject (readonly)

Returns the value of attribute message.



52
53
54
# File 'lib/blather/errors.rb', line 52

def message
  @message
end