Exception: ActiveTree::Store::StoreException

Inherits:
StandardError
  • Object
show all
Defined in:
lib/active_tree/store.rb

Instance Method Summary collapse

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