Enum github_local_remote::ErrorKind[][src]

pub enum ErrorKind {
    Log,
    Other,
    Git,
    GitRemoteOrigin,
    GitRemoteUrl,
    GitHubUrl,
    Io(Error),
}

A list enumerating the categories of errors in this crate.

This list is intended to grow over time and it is not recommended to exhaustively match against it.

It is used with the Error struct.

Variants

An error caused by the logger failing.

Any error not part of this list.

A generic error caused by Git.

Git couldn't find the "origin" remote.

The Git remote URL was not found.

The Git remote URL was not a valid GitHub url

An error caused by an IO failure.

Trait Implementations

impl Debug for ErrorKind
[src]

Formats the value using the given formatter. Read more

impl From<ErrorKind> for Error
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for ErrorKind

impl Sync for ErrorKind