Documentation
¶
Overview ¶
Package encerr provides shared sentinel errors and utilities used across the encryption library's sub-packages. It exists to break import cycles: the root encryption package re-exports everything defined here.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrKeyNotFound = errors.New("encryption key not found") ErrKeyExists = errors.New("encryption key already exists") ErrEncryption = errors.New("encryption failed") ErrDecryption = errors.New("decryption failed") ErrInvalidKeySize = errors.New("invalid key size") ErrKeyRevoked = errors.New("encryption key has been revoked") ErrKeyDestroyed = errors.New("encryption key has been destroyed") )
Sentinel errors used across the encryption library.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.