Enum goji::Error [−][src]
pub enum Error { Http(HttpError), IO(IoError), Serde(SerdeError), Fault { code: StatusCode, errors: Errors, }, Unauthorized, }
an enumeration over potential errors that may happen when sending a request to jira
Variants
Http(HttpError)
error associated with http request
IO(IoError)
error associated IO
Serde(SerdeError)
error associated with parsing or serializing
Fault
client request errors
Fields of Fault
code: StatusCode | |
errors: Errors |
invalid credentials
Trait Implementations
impl Debug for Error
[src]
impl Debug for Error
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl From<SerdeError> for Error
[src]
impl From<SerdeError> for Error
fn from(error: SerdeError) -> Error
[src]
fn from(error: SerdeError) -> Error
Performs the conversion.
impl From<HttpError> for Error
[src]
impl From<HttpError> for Error
impl From<IoError> for Error
[src]
impl From<IoError> for Error
impl Display for Error
[src]
impl Display for Error
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for Error
[src]
impl Error for Error