File tree Expand file tree Collapse file tree 2 files changed +585
-8
lines changed
dragonfly-client-core/src/error
dragonfly-client/src/bin/dfget Expand file tree Collapse file tree 2 files changed +585
-8
lines changed Original file line number Diff line number Diff line change @@ -238,6 +238,14 @@ pub enum DFError {
238238 #[ error( "max number of files to download exceeded: {0}" ) ]
239239 MaxDownloadFilesExceeded ( usize ) ,
240240
241+ /// DigestManifestParseFailed is the error for digest manifest parsing failure.
242+ #[ error( "digest manifest {filepath} parse failed: {error}" ) ]
243+ DigestManifestParseFailed { filepath : String , error : String } ,
244+
245+ /// MissingDigestEntry is the error when a non-directory entry has no corresponding digest.
246+ #[ error( "missing digest for entry: {entry_url}" ) ]
247+ MissingDigestEntry { entry_url : String } ,
248+
241249 /// Unsupported is the error for unsupported.
242250 #[ error( "unsupported {0}" ) ]
243251 Unsupported ( String ) ,
You can’t perform that action at this time.
0 commit comments