Exception: Plum::LegacyHTTPError

Inherits:
Error
  • Object
show all
Defined in:
lib/plum/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, buf = nil) ⇒ LegacyHTTPError

Returns a new instance of LegacyHTTPError.



49
50
51
52
# File 'lib/plum/errors.rb', line 49

def initialize(message, buf = nil)
  super(message)
  @buf = buf
end

Instance Attribute Details

#bufObject (readonly)

Returns the value of attribute buf.



47
48
49
# File 'lib/plum/errors.rb', line 47

def buf
  @buf
end