mirror of
https://codeberg.org/andyscott/ziglings.git
synced 2024-11-14 13:50:47 -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;
|
|
> };
|