Permalink
Browse files

Added :using parameter to DivideByZero exception

  • Loading branch information...
1 parent 54840de commit 9d537ccefa9b3d4d3dce74d5f5cb777925380ee3 @lizmat lizmat committed Aug 2, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/core/Exception.pm
View
@@ -1236,8 +1236,9 @@ my class X::Numeric::Real is Exception {
}
my class X::Numeric::DivideByZero is Exception {
+ has $.using;
method message() {
- "Divide by zero";
+ "Divide by zero using $.using";
}
}

0 comments on commit 9d537cc

Please sign in to comment.