2023-06-17 21:50:52 +00:00
|
|
|
class DatabaseAlreadyOpen implements Exception {}
|
|
|
|
|
|
|
|
class DatabaseIsNotOpen implements Exception {}
|
|
|
|
|
|
|
|
class UnableToGetDocuments implements Exception {}
|
|
|
|
|
|
|
|
class CouldNotDeletePlayer implements Exception {}
|
|
|
|
|
2023-09-23 19:09:36 +00:00
|
|
|
class CouldNotDeleteMatch implements Exception {}
|
|
|
|
|
2023-06-17 21:50:52 +00:00
|
|
|
class CouldNotUpdatePlayer implements Exception {}
|
|
|
|
|
|
|
|
class TetrioPlayerAlreadyExist implements Exception {}
|
|
|
|
|
|
|
|
class TetrioPlayerNotExist implements Exception {}
|
2023-07-11 17:02:35 +00:00
|
|
|
|
2024-03-20 22:56:13 +00:00
|
|
|
class TetrioDiscordNotExist implements Exception {}
|
|
|
|
|
2023-09-23 19:09:36 +00:00
|
|
|
class TetrioHistoryNotExist implements Exception {}
|
|
|
|
|
|
|
|
class TetrioTooManyRequests implements Exception {}
|
|
|
|
|
|
|
|
class TetrioForbidden implements Exception {}
|
|
|
|
|
|
|
|
class P1nkl0bst3rTooManyRequests implements Exception {}
|
|
|
|
|
|
|
|
class P1nkl0bst3rForbidden implements Exception {}
|
|
|
|
|
2023-10-18 21:50:41 +00:00
|
|
|
class SzyTooManyRequests implements Exception {}
|
|
|
|
|
|
|
|
class SzyForbidden implements Exception {}
|
|
|
|
|
|
|
|
class SzyNotFound implements Exception {}
|
|
|
|
|
2024-01-22 19:39:28 +00:00
|
|
|
class ReplayNotAvalable implements Exception {}
|
|
|
|
|
2023-10-18 21:50:41 +00:00
|
|
|
class TetrioReplayAlreadyExist implements Exception {}
|
|
|
|
|
2023-09-23 19:09:36 +00:00
|
|
|
class P1nkl0bst3rInternalProblem implements Exception {}
|
|
|
|
|
2023-10-18 21:50:41 +00:00
|
|
|
class SzyInternalProblem implements Exception {}
|
|
|
|
|
2023-09-23 19:09:36 +00:00
|
|
|
class TetrioOskwareBridgeProblem implements Exception {}
|
|
|
|
|
|
|
|
class TetrioInternalProblem implements Exception {}
|
|
|
|
|
2023-07-11 17:02:35 +00:00
|
|
|
class ConnectionIssue implements Exception {
|
|
|
|
const ConnectionIssue(this.code, this.message);
|
|
|
|
|
|
|
|
final int code;
|
|
|
|
final String message;
|
|
|
|
|
|
|
|
@override
|
|
|
|
String toString() {
|
|
|
|
String result = 'ConnectionIssue';
|
|
|
|
return '$result: $code $message';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|