Class: RgGen::Core::Utility::ErrorUtility::MessageComposer
- Defined in:
- lib/rggen/core/utility/error_utility.rb
Instance Method Summary collapse
Instance Method Details
#compose(error, verbose, backtrace) ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/rggen/core/utility/error_utility.rb', line 8 def compose(error, verbose, backtrace) lines = [] add_basic_info(error, lines) add_verbose_info(error, lines) if verbose add_backtrace(error, lines) if backtrace lines.join("\n") end |