Enum google_searchconsole1::Error[][src]

pub enum Error {
    HttpError(Error),
    UploadSizeLimitExceeded(u64u64),
    BadRequest(ErrorResponse),
    MissingAPIKey,
    MissingToken(Box<Error>),
    Cancelled,
    FieldClash(&'static str),
    JsonDecodeError(StringError),
    Failure(Response),
}

Variants

The http connection failed

An attempt was made to upload a resource with size stored in field .0 even though the maximum upload size is what is stored in field .1.

Represents information about a request that was not understood by the server. Details are included.

We needed an API key for authentication, but didn't obtain one. Neither through the authenticator, nor through the Delegate.

We required a Token, but didn't get one from the Authenticator

The delgate instructed to cancel the operation

An additional, free form field clashed with one of the built-in optional ones

Shows that we failed to decode the server response. This can happen if the protocol changes in conjunction with strict json decoding.

Indicates an HTTP repsonse with a non-success status code

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter. Read more

impl Display for Error
[src]

Formats the value using the given formatter. Read more

impl Error for Error
[src]

This method is soft-deprecated. Read more

The lower-level cause of this error, if any. Read more

Auto Trait Implementations

impl !Send for Error

impl !Sync for Error