Skip to content
This repository
Browse code

[S32::Exception] error message typos spotted by Nick Glencross

  • Loading branch information...
commit 010e0281ad796e728808bf2814143c10c1e2fc50 1 parent 9a73239
Moritz Lenz authored June 29, 2012

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

  1. 6  S32-setting-library/Exception.pod
6  S32-setting-library/Exception.pod
Source Rendered
@@ -480,7 +480,7 @@ Thrown when trying to agument a type which doesn't exist.
480 480
     my class X::Augment::NoSuchType does X::Comp {
481 481
         has $.package-type;
482 482
         has $.package;
483  
-        method message() { "You tried to agument $.package-type $.package, but it does not exist" }
  483
+        method message() { "You tried to augment $.package-type $.package, but it does not exist" }
484 484
     }
485 485
 
486 486
 =head3 X::Package::Stubbed
@@ -545,7 +545,7 @@ Thrown when obsolete (mostly Perl 5) syntax is detected.
545 545
 Thrown when a name component is empty, but shouldn't (for example C<use ::;>).
546 546
 
547 547
     my class X::Syntax::Name::Null does X::Syntax {
548  
-        method message() { 'Name component my not be null'; }
  548
+        method message() { 'Name component may not be null'; }
549 549
     }
550 550
 
551 551
 =head3 X::Syntax::UnlessElse
@@ -1206,7 +1206,7 @@ which is not a valid date format.
1206 1206
         has $.target = 'Date';
1207 1207
         has $.format;
1208 1208
         method message() {
1209  
-            "Ivalid $.target string '$.invalid-str'; use $.format instead";
  1209
+            "Invalid $.target string '$.invalid-str'; use $.format instead";
1210 1210
         }
1211 1211
     }
1212 1212
 

0 notes on commit 010e028

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