Exception: Gat::GatgetException
- Inherits:
-
GagetExceptions
- Object
- StandardError
- GagetExceptions
- Gat::GatgetException
- Defined in:
- lib/gat/exceptions.rb
Overview
Gatget Exception. Normal Code Exception. Something gone wrong but exit is controlled
Instance Attribute Summary
Attributes inherited from GagetExceptions
#exception_backtrace, #exception_location, #exception_options
Instance Method Summary collapse
- #exit_level ⇒ Object
-
#initialize(error, location, options = {}) ⇒ GatgetException
constructor
A new instance of GatgetException.
Methods inherited from GagetExceptions
#exception_message, #exit_error
Constructor Details
#initialize(error, location, options = {}) ⇒ GatgetException
Returns a new instance of GatgetException.
68 69 70 |
# File 'lib/gat/exceptions.rb', line 68 def initialize(error, location, = {}) super(error, location, ) end |
Instance Method Details
#exit_level ⇒ Object
72 73 74 |
# File 'lib/gat/exceptions.rb', line 72 def exit_level return 1 end |