mirror of
https://codeberg.org/andyscott/ziglings.git
synced 2024-11-09 19:40:48 -05:00
10 lines
212 B
Diff
10 lines
212 B
Diff
62c62,68
|
|
< return detectProblems(n) ???
|
|
---
|
|
> return detectProblems(n) catch |err| {
|
|
> if (err == MyNumberError.TooSmall) {
|
|
> return 10;
|
|
> }
|
|
>
|
|
> return err;
|
|
> };
|