Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #315 from usev6/nom
Extend error message of X::Numeric::Confused
  • Loading branch information
lizmat committed Oct 2, 2014
2 parents d60a8fa + 178eec7 commit f6d011d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/Exception.pm
Expand Up @@ -1473,7 +1473,8 @@ my class X::Numeric::DivideByZero is Exception {
my class X::Numeric::Confused is Exception {
has $.what;
method message() {
"You have confused the number $.what with the textual representation \"$.what\"";
"You have confused the number $.what with the textual representation \"$.what\";\n"
~ "if you wanted to render the number in the given base, use \$number.base(\$radix)";
}
}

Expand Down

0 comments on commit f6d011d

Please sign in to comment.