Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Make this a MOP exception
PerlJam++
  • Loading branch information
coke committed Jun 23, 2015
1 parent 49a2021 commit b66a0ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Exception.pm
Expand Up @@ -1323,7 +1323,7 @@ my class X::Attribute::NoPackage does X::Comp {
has $.name;
method message() { "You cannot declare attribute '$.name' here; maybe you'd like a class or a role?" }
}
my class X::Attribute::Required {
my class X::Attribute::Required does X::MOP {
has $.name;
method message() { "The attribute '$.name' is required, but you did not provide a value for it." }
}
Expand Down

0 comments on commit b66a0ac

Please sign in to comment.