You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- class ServerException implements Exception {}
-
- class CacheException implements Exception {}
-
- class NetworkException implements Exception {}
-
- ///can be used for throwing [NoInternetException]
- class NoInternetException implements Exception {
- late String _message;
-
- NoInternetException([String message = 'NoInternetException Occurred']) {
- this._message = message;
- }
-
- @override
- String toString() {
- return _message;
- }
- }
|