Struct github::error::InternalError
[-] [+]
[src]
pub struct InternalError { pub msg: String, }
InternalError
will be given in the form of Result
Fields
msg |
|
Methods
impl InternalError
fn new<T>(msg: &str) -> Result<T, ClientError>
Simple way to construct a Result<T, ClientError>
based on
information known for an internal error.
Trait Implementations
impl Display for InternalError
Allowing InternalError
to be printed via {}
in a controlled manner.