Re:Where Everything Went Wrong: Error Handling and Error Mes...
by jiehong on Friday February 19, 2021 @10:05AM
(#26193916)
it has the same issues. You can always discard errors with `catch unreachable` for example.
[ Parent
| on HN ]
Re:Where Everything Went Wrong: Error Handling and Error Mes...
by defen on Friday February 19, 2021 @11:29AM
(#26194785)
If you haven't overridden the default panic handler, and you're in a Debug or ReleaseSafe build you'll still automatically get an error return trace (which is nicer than a stack trace) even if you do `catch unreachable`.