Skip to content

Commit

Permalink
Make error message a bit more readable
Browse files Browse the repository at this point in the history
  • Loading branch information
lizmat committed Mar 29, 2020
1 parent 156356e commit a10140f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core.c/Exception.pm6
Expand Up @@ -2157,7 +2157,7 @@ my class X::Range::InvalidArg is Exception {
my class X::Sequence::Deduction is Exception {
has $.from;
method message() {
$!from ?? "Unable to deduce arithmetic or geometric sequence from $!from (or did you really mean '..'?)"
$!from ?? "Unable to deduce arithmetic or geometric sequence from: $!from\nDid you really mean '..'?"
!! 'Unable to deduce sequence for some unfathomable reason'
}
}
Expand Down

0 comments on commit a10140f

Please sign in to comment.