| Catmandu::Error(3pm) | User Contributed Perl Documentation | Catmandu::Error(3pm) |
Catmandu::Error - Catmandu error hierarchy
use Catmandu::Sane;
sub be_naughty {
Catmandu::BadArg->throw("very naughty") if shift;
}
try {
be_naughty(1);
} catch_case [
'Catmandu::BadArg' => sub {
say "sorry";
}
];
Throwable
| 2023-03-03 | perl v5.36.0 |