NAME
Trace::Mask::Try::Tiny - Trace::Mask tools for masking Try::Tiny in traces
DESCRIPTION
This module can be used to apply Trace::Mask behavior to Try::Tiny so that it is hidden in Trace::Mask compliant stack traces.
SYNOPSIS
use Trace::Mask::TryTiny;
use Trace::Mask::Carp qw/cluck/;
try {
cluck "Try::Tiny is not in this trace";
die "ignore me";
}
catch {
cluck "Try::Tiny is not in this trace";
}
finally {
cluck "Try::Tiny is not in this trace";
};
NO CONFIGURATION
There is no configuration, and no import options. This module is very simple, it adds the correct entries to %Trace::Mask::MASKS
. It runs Try::Tiny
and uses caller to determine how many fames should be hidden in each call dynamically.
SOURCE
The source code repository for Trace-Mask can be found at http://github.com/exodist/Trace-Mask.
MAINTAINERS
AUTHORS
COPYRIGHT
Copyright 2015 Chad Granum <exodist7@gmail.com>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See http://www.perl.com/perl/misc/Artistic.html