Daily commit

This commit is contained in:
Dennis Nemec
2026-02-05 10:46:13 +01:00
parent 4e808e234d
commit e0007dcf33
51 changed files with 2131 additions and 139 deletions

20
lib/exceptions/login.dart Normal file
View File

@ -0,0 +1,20 @@
class LoginInvalidUrlException implements Exception {
@override
String toString() {
return "Invalid url";
}
}
class LoginNoSessionIdException implements Exception {
@override
String toString() {
return "No session id found in url";
}
}
class LoginUnauthorizedException implements Exception {
@override
String toString() {
return "Unauthorized";
}
}

View File

@ -0,0 +1,8 @@
class ServerErrorException implements Exception {
final String message;
ServerErrorException({required this.message});
@override
String toString() => message;
}