mirror of
https://github.com/SyncrowIOT/web.git
synced 2026-10-25 00:07:55 +00:00
build main structure and build data layer and space managment bloc
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
|
||||
import 'enums.dart';
|
||||
|
||||
class GenericException implements Exception {
|
||||
final ExceptionType type;
|
||||
final String errorMessage;
|
||||
const GenericException(
|
||||
{required this.type, this.errorMessage = "Unknown Error"});
|
||||
|
||||
@override
|
||||
String toString() {
|
||||
return errorMessage;
|
||||
}
|
||||
|
||||
List<Object?> get props => [type, errorMessage];
|
||||
}
|
||||
Reference in New Issue
Block a user