What Is the Difference Between try, try?, and try!
rror is handled by turning it into an optional. This means that there is no need to wrap the throwing method call in a do-catch statement.
If the operation fails, the method returns an optional without a value. If the operation succeeds, the optional contains a value.