R

Ravina • 2.56K Points
Extraordinary

Q. Which Swift keyword is used to handle errors?

  • (A) catch
  • (B) try
  • (C) error
  • (D) rescue
  • Correct Answer - Option(B)
  • Views: 1
  • Filed under category Swift (iOs)
  • Hashtags:

Explanation by: Ravina
The `try` keyword is used to call throwing functions and handle errors in Swift.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.