refactor: Decompose fetch func
This commit is contained in:
@@ -3,6 +3,16 @@ package config
|
||||
import "errors"
|
||||
|
||||
var (
|
||||
ErrUnsupportedEncryptionFormat = errors.New("unsupported encryption format")
|
||||
ErrUnsupportedCompressionFormat = errors.New("unsupported compression format")
|
||||
ErrUnsupportedEncryptionFormat = errors.New("unsupported encryption format")
|
||||
ErrUnsupportedSignatureFormat = errors.New("unsupported signature format")
|
||||
|
||||
ErrIdentityUnparsable = errors.New("recipient could not be parsed")
|
||||
ErrRecipientUnparsable = errors.New("recipient could not be parsed")
|
||||
|
||||
ErrEmbeddedHeaderMissing = errors.New("embedded header is missing")
|
||||
|
||||
ErrSignatureFormatOnlyRegularSupport = errors.New("this signature format only supports regular files, not i.e. tape drives")
|
||||
ErrSignatureInvalid = errors.New("signature invalid")
|
||||
ErrSignatureMissing = errors.New("signature missing")
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user