Y
Hacker News
new
|
ask
|
show
|
jobs
by
hota_mazi
1711 days ago
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).