Class: Excepty::Analyzer::Error
- Inherits:
-
Object
- Object
- Excepty::Analyzer::Error
- Defined in:
- lib/excepty/analyzers/error.rb
Class Method Summary collapse
Class Method Details
.get_struct(exception, env) ⇒ Object
5 6 7 8 9 10 11 12 13 |
# File 'lib/excepty/analyzers/error.rb', line 5 def self.get_struct( exception, env ) return_struct = {} return_struct["exception_class"] = exception.class.to_s return_struct["message"] = exception..to_s return_struct["backtrace"] = exception.backtrace return return_struct end |