pub enum RustyAcmeError {
Show 20 variants
JsonError(Error),
UrlError(ParseError),
JwtError(RustyJwtError),
X509CheckError(RustyX509CheckError),
OidError(Error),
DerError(Error),
PemError(PemError),
RawJwtError(Error),
SignatureError(Error),
ImplementationError,
NotSupported,
ClientImplementationError(&'static str),
SmallstepImplementationError(&'static str),
AccountError(AcmeAccountError),
OrderError(AcmeOrderError),
AuthzError(AcmeAuthzError),
ChallengeError(AcmeChallError),
FinalizeError(AcmeFinalizeError),
Utf8(Utf8Error),
DecodeError(DecodeError),
}Expand description
All errors which crate::RustyAcme might throw
Variants§
JsonError(Error)
Invalid Json representation
UrlError(ParseError)
Invalid URL
JwtError(RustyJwtError)
Error while building a JWT
X509CheckError(RustyX509CheckError)
Error related to various X509 processing facilities/tools/checks
OidError(Error)
Failed mapping an ASN.1 ObjectIdentifier
DerError(Error)
Failed mapping a DER certificate
PemError(PemError)
Error while parsing a PEM document
RawJwtError(Error)
Error while handling a JWT
SignatureError(Error)
Error with hand-rolled signature
ImplementationError
We have done something terribly wrong
NotSupported
Mostly related to WASM support
ClientImplementationError(&'static str)
This library has been used the wrong way by users
SmallstepImplementationError(&'static str)
Smallstep ACME server is not correctly implemented
AccountError(AcmeAccountError)
Error while processing an account
OrderError(AcmeOrderError)
Error while processing an order
AuthzError(AcmeAuthzError)
Error while processing an authorization
ChallengeError(AcmeChallError)
Error while validating a challenge
FinalizeError(AcmeFinalizeError)
Error while finalizing an order
Utf8(Utf8Error)
UTF-8 parsing error
DecodeError(DecodeError)
Error while decoding elliptic curve keys (e.g. from PEM or DER)
Trait Implementations§
Source§impl Debug for RustyAcmeError
impl Debug for RustyAcmeError
Source§impl Display for RustyAcmeError
impl Display for RustyAcmeError
Source§impl Error for RustyAcmeError
impl Error for RustyAcmeError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()