Exception: Exception
- Defined in:
- lib/eco/api/common/version_patches/exception.rb
Direct Known Subclasses
Eco::API::Error, Eco::API::Error::UnknownErrorClass, Eco::API::UseCases::AmbiguousCaseReference, Eco::API::UseCases::BaseCase::InvalidType, Eco::API::UseCases::UnkownCase
Instance Method Summary collapse
Instance Method Details
#patch_full_message ⇒ Object
2 3 4 5 6 7 |
# File 'lib/eco/api/common/version_patches/exception.rb', line 2 def msg = [] msg << "#{backtrace.shift} #{message} (#{self.class.to_s})" backtrace.each {|bt| msg << "#{" "*8}from #{bt}"} msg.join("\n") end |