Group
Extension

Matches 2

Nice-Try ( J/JD/JDEGUEST/Nice-Try-v1.3.5.tar.gz, JDEGUEST, 2023; MetaCPAN )
Nice-Try/t/013_exception_inheritance.t ( view source; MetaCPAN )
('example');
    }
    catch ($e) {
        $exception = $e;
    }
    if ($exception) {

        isnt $exception, undef, 'unspecified catches class';
        isa_ok $exception, 'Sample::Exception';
 
->throw('refined');
    }
    catch ( Sample::Exception $e) {
        $exception = $e;
    }

    isnt $exception, undef, 'class catches class';
    if ($exception) {
        isa_ok $exception, 'Sampl
e::Exception::Refined->throw('refined')
    }
    catch ($e) {
        $exception = $e;
    }
    isnt $exception, undef, 'unspecified catches subclass';
    if ($exception) {
        isa_ok $exceptio
Nice-Try ( J/JD/JDEGUEST/Nice-Try-v1.3.5.tar.gz, JDEGUEST, 2023; MetaCPAN )
Nice-Try/t/014_nested.t ( view source; MetaCPAN )
er_continued, 'outer_continued should never be reached';    # >fails with original Nice::Try

    isnt $outer_caught, undef, 'caught inner exception in outer catch'; # >fails with original Nice::Try
 

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.