Exception: Locomotive::Steam::DefaultException

Inherits:
Exception
  • Object
show all
Defined in:
lib/locomotive/steam/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(message = nil, parent_exception = nil) ⇒ DefaultException

Returns a new instance of DefaultException.



6
7
8
9
10
# File 'lib/locomotive/steam/exceptions.rb', line 6

def initialize(message = nil, parent_exception = nil)
  self.log_backtrace(parent_exception) if parent_exception

  super(message)
end