Exception: Gat::GatgetFatalException

Inherits:
GagetExceptions show all
Defined in:
lib/gat/exceptions.rb

Overview

Gatget Fatal Exception. Fatal Code Exception. Something gone wrong and no callbacks are launched

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 = {}) ⇒ GatgetFatalException

Returns a new instance of GatgetFatalException.



82
83
84
# File 'lib/gat/exceptions.rb', line 82

def initialize(error, location, options = {})
  super(error, location, options)
end

Instance Method Details

#exit_levelObject



86
87
88
# File 'lib/gat/exceptions.rb', line 86

def exit_level
  return 2
end