Exception: Gat::GatgetException

Inherits:
GagetExceptions show all
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

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, options = {})
  super(error, location, options)
end

Instance Method Details

#exit_levelObject



72
73
74
# File 'lib/gat/exceptions.rb', line 72

def exit_level
  return 1
end