Skip to content

Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →

instance method

TracePoint#raised_exception

() -> ::Exception
raised_exception

Returns the exception raised on the :raise event or rescued on the :rescue event.

See also #path #return_value #parameters #self also in 4.1 · 4.0 · 3.3 · 3.2 · 3.1 · 3.0