A

Admin • 802.91K Points
Coach

Q. Which keyword is used for error handling in Rust?

  • (A) throw
  • (B) catch
  • (C) try
  • (D) match
  • Correct Answer - Option(D)
  • Views: 7
  • Filed under category Rust
  • Hashtags:

Explanation by: Admin
`match` is commonly used to handle errors using `Result` or `Option` types.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.