Exception: Moose::Inventory::DB::MooseDBException
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Moose::Inventory::DB::MooseDBException
- Defined in:
- lib/moose_inventory/db/exceptions.rb
Overview
This class provides a Moose-specific db exception error
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(message) ⇒ MooseDBException
constructor
A new instance of MooseDBException.
Constructor Details
#initialize(message) ⇒ MooseDBException
Returns a new instance of MooseDBException.
8 9 10 |
# File 'lib/moose_inventory/db/exceptions.rb', line 8 def initialize() @message = || 'An undefined Moose exception occurred' end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
7 8 9 |
# File 'lib/moose_inventory/db/exceptions.rb', line 7 def @message end |