Enum acme_rs::error::Error[][src]

pub enum Error {
    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,
}

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

Unauthorized

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

FromIoError(Error)
NoHttpChallengePresent

Trait Implementations

impl Debug for Error[src]

impl From<Error> for Error[src]

impl From<Error> for Error[src]

impl From<Error> for Error[src]

impl From<ErrorStack> for Error[src]

impl From<ToStrError> for Error[src]

impl From<Utf8Error> for Error[src]

Auto Trait Implementations

impl !RefUnwindSafe for Error

impl Send for Error

impl Sync for Error

impl Unpin for Error

impl !UnwindSafe for Error

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.