mirror of
https://git.proxmox.com/git/proxmox
synced 2025-05-28 16:23:06 +00:00
mark Error as must_use
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
0ef3c33538
commit
2dfc6a74bb
@ -12,6 +12,7 @@ pub const USER_ACTION_REQUIRED: &str = "urn:ietf:params:acme:error:userActionReq
|
||||
|
||||
/// Error types returned by this crate.
|
||||
#[derive(Debug)]
|
||||
#[must_use = "unused errors have no effect"]
|
||||
pub enum Error {
|
||||
/// A `badNonce` API response. The request should be retried with the new nonce received along
|
||||
/// with this response.
|
||||
|
Loading…
Reference in New Issue
Block a user