Exception: Rabbit::NotExistError
- Inherits:
-
SourceUnreadableError
- Object
- StandardError
- Error
- SourceUnreadableError
- Rabbit::NotExistError
- Defined in:
- lib/rabbit/error.rb
Constant Summary
Constants included from GetText
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name) ⇒ NotExistError
constructor
A new instance of NotExistError.
Methods included from GetText
Constructor Details
#initialize(name) ⇒ NotExistError
Returns a new instance of NotExistError.
117 118 119 120 |
# File 'lib/rabbit/error.rb', line 117 def initialize(name) @name = name super(_("not exist: %s") % @name) end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
116 117 118 |
# File 'lib/rabbit/error.rb', line 116 def name @name end |