2021-05-01 02:48:36 +00:00
|
|
|
class RangeHeaderParseException extends FormatException {
|
|
|
|
final String message;
|
|
|
|
|
|
|
|
RangeHeaderParseException(this.message);
|
|
|
|
|
|
|
|
@override
|
|
|
|
String toString() => 'Range header parse exception: $message';
|
|
|
|
}
|
2021-05-01 03:39:09 +00:00
|
|
|
|
|
|
|
class InvalidRangeHeaderException implements Exception {
|
|
|
|
final String message;
|
|
|
|
|
|
|
|
InvalidRangeHeaderException(this.message);
|
|
|
|
|
|
|
|
@override
|
|
|
|
String toString() => 'Range header parse exception: $message';
|
|
|
|
}
|