17 lines
414 B
Dart
17 lines
414 B
Dart
class RangeHeaderParseException extends FormatException {
|
|
final String message;
|
|
|
|
RangeHeaderParseException(this.message);
|
|
|
|
@override
|
|
String toString() => 'Range header parse exception: $message';
|
|
}
|
|
|
|
class InvalidRangeHeaderException implements Exception {
|
|
final String message;
|
|
|
|
InvalidRangeHeaderException(this.message);
|
|
|
|
@override
|
|
String toString() => 'Range header parse exception: $message';
|
|
}
|