Method: WebConsole::ExceptionMapper.follow
- Defined in:
- lib/web_console/exception_mapper.rb
.follow(exc) ⇒ Object
7 8 9 10 11 12 13 14 15 |
# File 'lib/web_console/exception_mapper.rb', line 7 def self.follow(exc) mappers = [new(exc)] while cause = (cause || exc).cause mappers << new(cause) end mappers end |