pub enum Error {
Show 31 variants
AccountDoesNotExist,
AlreadyRevoked,
BadCSR,
BadNonce,
BadPublicKey,
BadRevocationReason,
BadSignatureAlgorithm,
Caa,
Compound,
Connection,
Dns,
ExternalAccountRequired,
IncorrectResponse,
InvalidContact,
Malformed,
OrderNotReady,
RateLimited,
RejectedIdentifier,
ServerInternal,
Tls,
Unauthorized,
UnsupportedContact,
UnsupportedIdentifier,
UserActionRequired,
FromUtf8Error(Utf8Error),
FromReqwestError(Error),
FromRsaError(ErrorStack),
FromSerdeError(Error),
FromToStrError(ToStrError),
FromIoError(Error),
NoHttpChallengePresent,
}
Expand description
An enumeration of all possible error types.
Variants§
AccountDoesNotExist
The request specified an account that does not exist
AlreadyRevoked
The request specified a certificate to be revoked that has already been revoked
BadCSR
The CSR is unacceptable (e.g., due to a short key)
BadNonce
The client sent an unacceptable anti-replay nonce
BadPublicKey
The JWS was signed by a public key the server does not support
BadRevocationReason
The revocation reason provided is not allowed by the server
BadSignatureAlgorithm
The JWS was signed with an algorithm the server does not support
Caa
Certification Authority Authorization (CAA) records forbid the CA from issuing a certificate
Compound
Specific error conditions are indicated in the “subproblems” array
Connection
The server could not connect to validation target
Dns
There was a problem with a DNS query during identifier validation
ExternalAccountRequired
The request must include a value for the “externalAccountBinding” field
IncorrectResponse
Response received didn’t match the challenge’s requirements
InvalidContact
A contact URL for an account was invalid
Malformed
The request message was malformed
OrderNotReady
The request attempted to finalize an order that is not ready to be finalized
RateLimited
The request exceeds a rate limit
RejectedIdentifier
The server will not issue certificates for the identifier
ServerInternal
The server experienced an internal error
Tls
The server received a TLS error during validation
The client lacks sufficient authorization
UnsupportedContact
A contact URL for an account used an unsupported protocol scheme
UnsupportedIdentifier
An identifier is of an unsupported type
UserActionRequired
Visit the “instance” URL and take actions specified there
FromUtf8Error(Utf8Error)
Error converted from an Utf8 error
FromReqwestError(Error)
Error converted from a reqwest error
FromRsaError(ErrorStack)
Error converted from an ErrorStack Error (occurs during RSA generation)
FromSerdeError(Error)
Error converted from a json serde error
FromToStrError(ToStrError)
Error converted from a reqwest ToStrError