Result return type
Error Handling · errors1
You are in error handling, exercise errors1.
Goal: make this exercise compile and pass its tests.
Open the editor on the right, edit the code, and press Run. Reveal the Hint if you get stuck. Peek at the Solution as a last resort.
errors1.rsedition 2021 · tests
Output
Run your code to see compiler output here. Use ⌘↵ to run.