Enum googl::ErrorUnstable [-]  [+] [src]

pub enum Error {
    BadStatus(StatusCode, String),
    Http(HttpError),
    Io(IoError),
    Json(BuilderError),
    MissingId(Json),
    Url(UrlError),
}

Contains all possible errors you might get while shortening a URL

Variants

BadStatus
Http
Io
Json
MissingId
Url

Trait Implementations

impl FromError<HttpError> for Error

fn from_error(err: HttpError) -> Error

impl FromError<IoError> for Error

fn from_error(err: IoError) -> Error

impl FromError<BuilderError> for Error

fn from_error(err: BuilderError) -> Error

impl FromError<UrlError> for Error

fn from_error(err: UrlError) -> Error

Derived Implementations

impl Show for Error

fn fmt(&self, __arg_0: &mut Formatter) -> Result