trace

# $exception

my $trace = $exception->trace;
my $trace = $exception->trace(0); # all frames
my $trace = $exception->trace(0, 5); # five frames, no skip

The trace method compiles a stack trace and returns the object. By default it skips the first frame.

trace(Int $offset, $Int $limit) : ExceptionObject

method

5 POD Errors

The following errors were encountered while parsing the POD:

Around line 10:

Unknown directive: =name

Around line 14:

Unknown directive: =usage

Around line 22:

Unknown directive: =description

Around line 27:

Unknown directive: =signature

Around line 31:

Unknown directive: =type