Exception: ActiveTree::Store::StoreException
- Inherits:
-
StandardError
- Object
- StandardError
- ActiveTree::Store::StoreException
- Defined in:
- lib/active_tree/store.rb
Instance Method Summary collapse
-
#initialize(msg = "This is a custom exception", exception_type = "custom") ⇒ StoreException
constructor
A new instance of StoreException.
Constructor Details
#initialize(msg = "This is a custom exception", exception_type = "custom") ⇒ StoreException
Returns a new instance of StoreException.
6 7 8 9 |
# File 'lib/active_tree/store.rb', line 6 def initialize(msg="This is a custom exception", exception_type="custom") @exception_type = exception_type super(msg) end |