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