From fe14bc61f4884f34759643431f33c5617b460827 Mon Sep 17 00:00:00 2001 From: Moritz Lenz Date: Fri, 17 Aug 2012 14:46:13 +0200 Subject: [PATCH] X::NYI is really a class --- S32-setting-library/Exception.pod | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/S32-setting-library/Exception.pod b/S32-setting-library/Exception.pod index dd835cf39..06eceb2a2 100644 --- a/S32-setting-library/Exception.pod +++ b/S32-setting-library/Exception.pod @@ -17,8 +17,8 @@ Authors of previous versions of this document: Created: 26 Feb 2009 - Last Modified: 2 August 2012 - Version: 13 + Last Modified: 17 August 2012 + Version: 14 The document is a draft. @@ -178,8 +178,9 @@ Thrown when C fails. =head2 X::NYI - role X::NYI { + class X::NYI is Exception { has $.feature; + method message() { "$.feature is not yet implemented. Sorry. " } } For errors that stem from incomplete implementations of the Perl 6 language.