Module: Tupplur::Error

Defined in:
lib/tupplur/errors.rb

Defined Under Namespace

Classes: RESTOperationNotAllowed

Class Method Summary collapse

Class Method Details

.log_exception(e) ⇒ Object



15
16
17
18
19
# File 'lib/tupplur/errors.rb', line 15

def self.log_exception(e)
  puts "Exception: #{e}"
  puts "Message: #{e.message}"
  puts e.backtrace.join("\n")
end