Closed giann closed 2 years ago
Before we implemented try { .. } catch, this was the only way to do something for each type of error. Now willFail() catch defaultValue and try/catch should be enough to handle everything.
try { .. } catch
willFail() catch defaultValue
try/catch
Before we implemented
try { .. } catch
, this was the only way to do something for each type of error. NowwillFail() catch defaultValue
andtry/catch
should be enough to handle everything.