Pattern: Use of try!
Issue: -
Force tries should be avoided.
Examples of correct code:
func a() throws {}; do { try a() } catch {}
Examples of incorrect code:
func a() throws {}; ↓try! a()
Pattern: Use of try!
Issue: -
Force tries should be avoided.
Examples of correct code:
func a() throws {}; do { try a() } catch {}
Examples of incorrect code:
func a() throws {}; ↓try! a()