Mobile/Swift

예외처리

꼰대코더 2024. 2. 14. 23:39

do {

    let result = try someRiskyWork()

} catch {

    print("Handle errors here")

}