How can I implement global exception catch? #2193
Unanswered
wanglunhui2012
asked this question in
Questions
Replies: 1 comment
-
Rust doesn't have exceptions, it uses panics and results to handle errors. See https://doc.rust-lang.org/stable/book/ch09-00-error-handling.html for more information. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In java, We can do this by try-catch, but how can I do this in this project?
Beta Was this translation helpful? Give feedback.
All reactions