Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[S32::Exception] X::AdHoc naming conventions

  • Loading branch information...
commit d28c8ef33bd4dc20f4ac7c4bf64fb4d2ae8fe92e 1 parent 0c822b5
Moritz Lenz authored February 11, 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
@@ -18,8 +18,8 @@ Authors of previous versions of this document:
18 18
 
19 19
     Created: 26 Feb 2009
20 20
 
21  
-    Last Modified: 08 January 2012
22  
-    Version: 6
  21
+    Last Modified: 11 February 2012
  22
+    Version: 7
23 23
 
24 24
 The document is a draft.
25 25
 
@@ -115,7 +115,8 @@ $<bad> instead >>.
115 115
 =head2 X::AdHoc
116 116
 
117 117
     class X::AdHoc is Exception {
118  
-        has $.message;
  118
+        has $.payload handles <Str Numeric>;
  119
+        method message() { $.payload.Str }
119 120
     }
120 121
 
121 122
 If you call C<&die> with non-C<Exception> arguments, what the user finds

0 notes on commit d28c8ef

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