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 << "\n#{backtrace.first} \n#{} (#{self.class.to_s})" backtrace[1..-1].each_with_index {|bt, i| msg << "#{" "*8}#{i+1}: from #{bt}"} msg.join("\n") end |