Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[S32::Exception] improve error message for X::Syntax::Augment::Role

  • Loading branch information...
commit 771d5050f6bfc3dcd80fa202de47b5c6f45f3d74 1 parent 2774606
Moritz Lenz moritz authored
Showing with 4 additions and 3 deletions.
  1. +4 −3 S32-setting-library/Exception.pod
7 S32-setting-library/Exception.pod
View
@@ -17,8 +17,8 @@ Authors of previous versions of this document:
Created: 26 Feb 2009
- Last Modified: 23 August 2012
- Version: 23
+ Last Modified: 24 August 2012
+ Version: 24
The document is a draft.
@@ -640,7 +640,8 @@ Thrown when C<augment> is used without C<use MONKEY_TYPING>.
Thrown when trying to agument a role.
my class X::Syntax::Augment::Role does X::Syntax {
- method message() { "Cannot augment a role, since roles are immutable" };
+ has $.role-name;
+ method message() { "Cannot augment role $.role-name, since roles are immutable" };
}
=head3 X::Syntax::Placeholder
Please sign in to comment.
Something went wrong with that request. Please try again.