TYP300
TYP300 — try requires Result return type
| Subsystem | Type checking |
| Severity | error |
try propagates an Err to the enclosing function, so that function must return Result<_, _>. Change the return type, or handle the value with match. See spec/errors.md §“Type-system rules”.
From your terminal:
q64 explain TYP300