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

Constructor Details

#initialize(type) ⇒ UnknownCursorTypeError

Returns a new instance of UnknownCursorTypeError.



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

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

Instance Attribute Details

#typeObject (readonly)

Returns the value of attribute type.



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

def type
  @type
end