Skip to content

Commit

Permalink
Update exercises/concept/rpn-calculator/.meta/exemplar.ex
Browse files Browse the repository at this point in the history
Co-authored-by: Angelika Tyborska <[email protected]>
  • Loading branch information
jiegillet and angelikatyborska authored Jun 30, 2024
1 parent 60e84e7 commit 36bb80d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exercises/concept/rpn-calculator/.meta/exemplar.ex
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ defmodule RPNCalculator do
try do
{:ok, operation.(stack)}
rescue
e -> {:error, Exception.message(e)}
e in ArgumentError -> {:error, e.message}
end
end
end

0 comments on commit 36bb80d

Please sign in to comment.