Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions lib/src/models/exceptions/state_errors.dart
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
class CacheStreamDisposedException extends StateError {
final Uri sourceUrl;
CacheStreamDisposedException(this.sourceUrl)
: super('Attempted to use a disposed HttpCacheStream | $sourceUrl');
: super('Attempted to use a disposed HttpCacheStream | $sourceUrl');
}

class CacheManagerDisposedException extends StateError {
CacheManagerDisposedException()
: super('Attempted to use a disposed HttpCacheManager');
: super('Attempted to use a disposed HttpCacheManager');
}

/// Thrown when a cache URL is requested from an `HttpCacheManager` that was
Expand All @@ -16,8 +16,8 @@ class CacheManagerDisposedException extends StateError {
class CacheServerUnavailableException extends StateError {
final Uri sourceUrl;
CacheServerUnavailableException(this.sourceUrl)
: super(
'HttpCacheManager was initialized without a local cache server (startServer: false), '
'so there is no cache URL for $sourceUrl. Read it through HttpCacheStream.request instead.',
);
: super(
'HttpCacheManager was initialized without a local cache server (startServer: false), '
'so there is no cache URL for $sourceUrl. Read it through HttpCacheStream.request instead.',
);
}
Loading