60 lines
1.5 KiB
Dart
60 lines
1.5 KiB
Dart
class DatabaseAlreadyOpen implements Exception {}
|
|
|
|
class DatabaseIsNotOpen implements Exception {}
|
|
|
|
class UnableToGetDocuments implements Exception {}
|
|
|
|
class CouldNotDeletePlayer implements Exception {}
|
|
|
|
class CouldNotDeleteMatch implements Exception {}
|
|
|
|
class CouldNotUpdatePlayer implements Exception {}
|
|
|
|
class TetrioPlayerAlreadyExist implements Exception {}
|
|
|
|
class TetrioPlayerNotExist implements Exception {}
|
|
|
|
class TetrioDiscordNotExist implements Exception {}
|
|
|
|
class TetrioHistoryNotExist implements Exception {}
|
|
|
|
class TetrioTooManyRequests implements Exception {}
|
|
|
|
class TetrioForbidden implements Exception {}
|
|
|
|
class P1nkl0bst3rTooManyRequests implements Exception {}
|
|
|
|
class P1nkl0bst3rForbidden implements Exception {}
|
|
|
|
class SzyTooManyRequests implements Exception {}
|
|
|
|
class SzyForbidden implements Exception {}
|
|
|
|
class SzyNotFound implements Exception {}
|
|
|
|
class ReplayNotAvalable implements Exception {}
|
|
|
|
class TetrioReplayAlreadyExist implements Exception {}
|
|
|
|
class P1nkl0bst3rInternalProblem implements Exception {}
|
|
|
|
class SzyInternalProblem implements Exception {}
|
|
|
|
class TetrioOskwareBridgeProblem implements Exception {}
|
|
|
|
class TetrioInternalProblem implements Exception {}
|
|
|
|
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';
|
|
}
|
|
}
|
|
|