Exception: Rabbit::NotExistError

Inherits:
SourceUnreadableError 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(name) ⇒ NotExistError

Returns a new instance of NotExistError.



110
111
112
113
# File 'lib/rabbit/error.rb', line 110

def initialize(name)
  @name = name
  super(_("not exist: %s") % @name)
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



109
110
111
# File 'lib/rabbit/error.rb', line 109

def name
  @name
end