|
|
|
|
|
by vips7L
31 days ago
|
|
Checked exceptions are great. There is no difference between them and results/unions except syntax. The below all express the same thing. Swift in fact uses the checked throws syntax. Result<T,E> fn()
T | E fn()
T fn() throws E
fn() throws(E) -> T
|
|