Api Exception Error Classes Dart
When working with APIs we often use try-catch blocks to catch any error that may occur, it is the standard practice and I for one cant count the number of time it has saved me from my application just crashing. One day a colleague of mine told me that he isn’t a big fan of using try-catch and refrains from using it unless its absolutely necessary, he stated that he would rather check whatever error that may occur that use a try-catch. ...