SimpleCloudNotifier/flutter/lib/api/api_exception.dart
Mike Schwörer ac299ec7ba
All checks were successful
Build Docker and Deploy / Build Docker Container (push) Successful in 2m58s
Build Docker and Deploy / Deploy to Server (push) Successful in 32s
Better client/login/authState handling
2024-06-02 17:09:57 +02:00

14 lines
293 B
Dart

class APIException implements Exception {
final int httpStatus;
final String error;
final String errHighlight;
final String message;
APIException(this.httpStatus, this.error, this.errHighlight, this.message);
@override
String toString() {
return '[$error] $message';
}
}