last_exception.rb

Path: lib/pry/last_exception.rb
Last Update: Tue Mar 01 20:48:02 +0000 2016

{Pry::LastException} is a proxy class who wraps an Exception object for {Pry#last_exception}. it extends the exception object with methods that help pry commands be useful.

the original exception object is not modified and method calls are forwarded to the wrapped exception object.

[Validate]