v1.0.1
This commit is contained in:
13
lib/app/app_error.dart
Normal file
13
lib/app/app_error.dart
Normal file
@@ -0,0 +1,13 @@
|
||||
class AppError implements Exception {
|
||||
final int code;
|
||||
final String message;
|
||||
AppError(
|
||||
this.message, {
|
||||
this.code = 0,
|
||||
});
|
||||
|
||||
@override
|
||||
String toString() {
|
||||
return message;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user