базовая логика скачивания обновлений
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
sealed class LauncherException implements Exception {
|
||||
final String message;
|
||||
|
||||
const LauncherException(this.message);
|
||||
|
||||
@override
|
||||
String toString() => message;
|
||||
}
|
||||
|
||||
final class LauncherConfigurationException extends LauncherException {
|
||||
const LauncherConfigurationException(super.message);
|
||||
}
|
||||
|
||||
final class LauncherApiException extends LauncherException {
|
||||
const LauncherApiException(super.message);
|
||||
}
|
||||
|
||||
final class LauncherSyncException extends LauncherException {
|
||||
const LauncherSyncException(super.message);
|
||||
}
|
||||
Reference in New Issue
Block a user