The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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.