Synopses/S32/Exception

From perl6.cz

Contents

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 pugs repository under /docs/Perl6/Spec/S32-setting-library/Exception.pod so edit it there in the SVN 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.


Personal tools
Language