Skip to content

Commit

Permalink
doc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
felangel committed Aug 10, 2023
1 parent 4b1a5c7 commit d665c1e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/shorebird_cli/lib/src/cache.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,16 @@ import 'package:shorebird_cli/src/platform.dart';
import 'package:shorebird_cli/src/process.dart';
import 'package:shorebird_cli/src/shorebird_env.dart';

/// {@template cache_update_failure}
/// Thrown when a cache update fails.
/// This can occur if the artifact is unreachable or
/// if the download is interrupted.
/// {@endtemplate}
class CacheUpdateFailure implements Exception {
/// {@macro cache_update_failure}
const CacheUpdateFailure(this.message);

/// The error message.
final String message;

@override
Expand Down

0 comments on commit d665c1e

Please sign in to comment.