Skip to content
This repository
Browse code

X::NYI is really a class

  • Loading branch information...
commit fe14bc61f4884f34759643431f33c5617b460827 1 parent be2490f
Moritz Lenz authored August 17, 2012

Showing 1 changed file with 4 additions and 3 deletions. Show diff stats Hide diff stats

  1. 7  S32-setting-library/Exception.pod
7  S32-setting-library/Exception.pod
Source Rendered
@@ -17,8 +17,8 @@ Authors of previous versions of this document:
17 17
 
18 18
     Created: 26 Feb 2009
19 19
 
20  
-    Last Modified: 2 August 2012
21  
-    Version: 13
  20
+    Last Modified: 17 August 2012
  21
+    Version: 14
22 22
 
23 23
 The document is a draft.
24 24
 
@@ -178,8 +178,9 @@ Thrown when C<chmod> fails.
178 178
 
179 179
 =head2 X::NYI
180 180
 
181  
-    role X::NYI {
  181
+    class X::NYI is Exception {
182 182
         has $.feature;
  183
+        method message() { "$.feature is not yet implemented. Sorry. " }
183 184
     }
184 185
 
185 186
 For errors that stem from incomplete implementations of the Perl 6 language.

0 notes on commit fe14bc6

Please sign in to comment.
Something went wrong with that request. Please try again.