ziglings/patches/patches/024_errors4.patch
Dave Gauer 0ba79fe869 Updated for dev pre-release build v0.9.0-dev.1343
A change in the "build" library imports and some cleanup in the
patches.
2021-10-09 10:19:34 -04:00

10 lines
213 B
Diff

62c62,68
< return detectProblems(n) ???;
---
> return detectProblems(n) catch |err| {
> if (err == MyNumberError.TooSmall) {
> return 10;
> }
>
> return err;
> };