Implement local HTTP Api usage
This commit is contained in:
10
lib/api/webuntis/webuntisError.dart
Normal file
10
lib/api/webuntis/webuntisError.dart
Normal file
@ -0,0 +1,10 @@
|
||||
class WebuntisError {
|
||||
String message;
|
||||
int code;
|
||||
|
||||
WebuntisError(this.message, this.code);
|
||||
|
||||
String toString() {
|
||||
return "WebUntis ($code): $message";
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user