pub enum MurkError {
Vault(VaultError),
Crypto(CryptoError),
Integrity(String),
Key(String),
Recipient(String),
Secret(String),
GitHub(GitHubError),
Io(Error),
}Expand description
Top-level error type for murk operations.
Variants§
Vault(VaultError)
Vault file I/O or parsing.
Crypto(CryptoError)
Cryptographic operation (encrypt/decrypt/key parse).
Integrity(String)
Integrity check failed (MAC mismatch, tampering).
Key(String)
Key resolution or environment configuration.
Recipient(String)
Recipient management (authorize, revoke).
Secret(String)
Secret management (add, remove, describe).
GitHub(GitHubError)
GitHub key fetch.
Io(Error)
General I/O.
Trait Implementations§
Source§impl Error for MurkError
impl Error for MurkError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<CryptoError> for MurkError
impl From<CryptoError> for MurkError
Source§fn from(e: CryptoError) -> Self
fn from(e: CryptoError) -> Self
Converts to this type from the input type.
Source§impl From<GitHubError> for MurkError
impl From<GitHubError> for MurkError
Source§fn from(e: GitHubError) -> Self
fn from(e: GitHubError) -> Self
Converts to this type from the input type.
Source§impl From<VaultError> for MurkError
impl From<VaultError> for MurkError
Source§fn from(e: VaultError) -> Self
fn from(e: VaultError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MurkError
impl !RefUnwindSafe for MurkError
impl Send for MurkError
impl Sync for MurkError
impl Unpin for MurkError
impl UnsafeUnpin for MurkError
impl !UnwindSafe for MurkError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more