Hinrik Örn Sigurðsson > Perl6-Doc > share/Synopsis/S32-setting-library/Exception.pod

Download:
Perl6-Doc-0.47.tar.gz

Annotate this POD

Website

CPAN RT

Open  0
View/Report Bugs
Source  

TITLE ^

DRAFT: Synopsis 32: Setting Library - Exception

AUTHORS ^

    Tim Nelson <wayland@wayland.id.au>
    Larry Wall <larry@wall.org>

VERSION ^

    Created: 26 Feb 2009

    Last Modified: 8 Jan 2010
    Version: 2

The document is a draft.

If you read the HTML version, it is generated from the Pod in the specs repository under https://github.com/perl6/specs/blob/master/S32-setting-library/Exception.pod so edit it there in the git repository if you would like to make changes.

Roles ^

    role Exception does Positional {
        # XXX How do we tell the difference between a warning and a fatal error?
    }

    role Resumeable {
        method resume() {...}
    }

    role Failure {
        method Bool {...}
        method handled {...}
    }

Classes ^

    class Failure does Failure {
        has $.handled;
    }

    class ControlExceptionSigHUP does Exception does Resumeable {}

Additions ^

Please post errors and feedback to perl6-language. If you are making a general laundry list, please separate messages by topic.

syntax highlighting: