Exception: Nezu::Error

Inherits:
Exception
  • Object
show all
Defined in:
lib/nezu.rb

Overview

the generic exception class

Instance Method Summary collapse

Instance Method Details

#new(e, msg) ⇒ Object



46
47
48
49
# File 'lib/nezu.rb', line 46

def new(e,msg)
  Nezu.logger.error(e.to_s)
  e.backtrace.each {|bt_line| Nezu.logger.error(bt_line)}
end