Exception: Rabbit::UnknownCursorTypeError

Inherits:
Error
  • Object
show all
Defined in:
lib/rabbit/error.rb

Constant Summary

Constants included from GetText

GetText::DOMAIN

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from GetText

included

Instance Attribute Details

#typeObject (readonly)

Returns the value of attribute type.



212
213
214
# File 'lib/rabbit/error.rb', line 212

def type
  @type
end

Instance Method Details

#intialize(type) ⇒ Object



213
214
215
216
# File 'lib/rabbit/error.rb', line 213

def intialize(type)
  @type = type
  super(_("unknown cursor type: %s") % @type)
end