initial commit (migrated)

This commit is contained in:
fiatcode 2025-10-20 16:43:59 +07:00
commit b594facb51
143 changed files with 11057 additions and 0 deletions

View file

@ -0,0 +1,16 @@
/// Exception class for server error
/// Generally, this exception is thrown when the server returns an error response
class ServerException implements Exception {
const ServerException(this.message);
final String message;
}
/// Exception class for unauthorized client error
/// this exception is thrown when the client is not authorized
/// to access the resource (server returns 401)
class UnauthorizedException implements Exception {
const UnauthorizedException(this.message);
final String message;
}