Enum github::error::ClientError [-] [+] [src]

pub enum ClientError {
    Http(RequestError),
    Internal(InternalError),
}

ClientError enumerates all the possible errors that a public client (request) function of this library might be given.

Variants

Http

Read the documentation for RequestError for more information on this error.

Internal

Read the documentation for InternalError for more information on this error..

Trait Implementations

impl Display for ClientError

Allowing ClientError to be printed via {} in a controlled manner.

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

Derived Implementations

impl Debug for ClientError

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