3 ms·
This difference is covered in Swift's design doc above, but its result is to technically not have exceptions (nonlocal returns), have fake exceptions called err
by astrange 6y ago
This difference is covered in Swift's design doc above, but its result is to technically not have exceptions (nonlocal returns), have fake exceptions called errors for "recoverable" errors (user can fix it), and just straight up crash for "universal" errors (vague things the user can't fix).