Struct github::error::ErrorContext
[-] [+]
[src]
pub struct ErrorContext { pub resource: String, pub field: String, pub code: ErrorCode, }
When a negative status was given as a response to a request,
there might be one or several error descriptions embedded in the
body to tell more about the details of what was wrong.
ErrorContext
is the representation for each of the errors that are given.
Fields
resource | |
field | |
code |
Trait Implementations
impl Display for ErrorContext
Allowing ErrorContext
to be printed via {}
in a controlled manner.