Method: Agis#pretty_exception

Defined in:
lib/agis.rb

#pretty_exception(args, e) ⇒ Object



122
123
124
125
126
127
128
129
130
# File 'lib/agis.rb', line 122

def pretty_exception(args, e)
  ret = []
  ret << "Agis method call failed: " + args.to_s
  ret << "  " + e.class.to_s
  e.backtrace.each do |v|
    ret << v.to_s
  end
  ret
end