Initial re-upload of spice2x-24-08-24
This commit is contained in:
11
api/resources/dart/spiceapi/src/exceptions.dart
Normal file
11
api/resources/dart/spiceapi/src/exceptions.dart
Normal file
@@ -0,0 +1,11 @@
|
||||
part of spiceapi;
|
||||
|
||||
class APIError implements Exception {
|
||||
String cause;
|
||||
APIError(this.cause);
|
||||
|
||||
@override
|
||||
String toString() {
|
||||
return this.cause;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user