Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
hota_mazi
on Oct 8, 2021
|
parent
|
context
|
favorite
| on:
Rust: Enums to Wrap Multiple Errors
The only downside of this approach is that you can't pass a dynamic string giving details on the error, but that's because Rust's enums are not powerful enough to express this (as opposed to Kotlin or Java).
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: