mirror of
https://github.com/FoggedLens/deflock-app.git
synced 2026-09-04 17:06:43 +02:00
remove extraneous unreferenced file
This commit is contained in:
@@ -1,23 +0,0 @@
|
|||||||
/// Exception thrown when Overpass API returns an error indicating too many nodes were requested.
|
|
||||||
/// This typically happens when querying large areas that would return more than 50k nodes.
|
|
||||||
class OverpassNodeLimitException implements Exception {
|
|
||||||
final String message;
|
|
||||||
final String? serverResponse;
|
|
||||||
|
|
||||||
OverpassNodeLimitException(this.message, {this.serverResponse});
|
|
||||||
|
|
||||||
@override
|
|
||||||
String toString() => 'OverpassNodeLimitException: $message';
|
|
||||||
}
|
|
||||||
|
|
||||||
/// Exception thrown when Overpass API rate limits the request.
|
|
||||||
/// Should trigger longer backoff delays, not area splitting.
|
|
||||||
class OverpassRateLimitException implements Exception {
|
|
||||||
final String message;
|
|
||||||
final String? serverResponse;
|
|
||||||
|
|
||||||
OverpassRateLimitException(this.message, {this.serverResponse});
|
|
||||||
|
|
||||||
@override
|
|
||||||
String toString() => 'OverpassRateLimitException: $message';
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user