Enum github::error::ErrorCode
[-] [+]
[src]
pub enum ErrorCode { Missing, MissingField, Invalid, AlreadyExists, Unknown(String), }
Documentation References:
https://developer.github.com/v3/#client-errors
ErrorCode
represents the type of error that was reported
as a response on a request to th Github API.
Variants
Trait Implementations
impl Display for ErrorCode
Allowing ErrorCode
to be printed via {}
.
impl Decodable for ErrorCode
Allowing ErrorCode
to be decoded from json values.
Linked to the error
key as defind by the ErrorContext
struct's member.