mirror of
https://codeberg.org/andyscott/ziglings.git
synced 2024-11-09 19:40:48 -05:00
0ba79fe869
A change in the "build" library imports and some cleanup in the patches.
10 lines
213 B
Diff
10 lines
213 B
Diff
62c62,68
|
|
< return detectProblems(n) ???;
|
|
---
|
|
> return detectProblems(n) catch |err| {
|
|
> if (err == MyNumberError.TooSmall) {
|
|
> return 10;
|
|
> }
|
|
>
|
|
> return err;
|
|
> };
|