-
Notifications
You must be signed in to change notification settings - Fork 475
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
should have document on best practice about how to throw custom error
#1405
Comments
throw custom error
throw custom error
The reference describes the rust language itself, not what idiomatic rust is, nor how to learn it as beginner. The rust book is meant for learning rust. In this specific case Chapter 9: Error Handling is relevant. |
As mentioned, the reference isn't intended for new learners, or for how to map concepts from another language to Rust. If you are having questions on how to do things, I suggest trying one of the user forums such as https://users.rust-lang.org/. |
Ah, sorry. I mis-understood as this repo is for rust document team. |
Seperated document issue from previous
#1404
From my newbee understanding
typescript
throw error
equivalentshould be
But typescript
throw custom error
equivalent seems very complicated.The text was updated successfully, but these errors were encountered: