Struct git2::Error [] [src]

pub struct Error { /* fields omitted */ }

A structure to represent errors coming out of libgit2.

Methods

impl Error
[src]

Returns the last error, or None if one is not available.

Creates a new error from the given string as the error.

Return the error code associated with this error.

Return the error class associated with this error.

Return the raw error code associated with this error.

Return the raw error class associated with this error.

Return the message associated with this error

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl PartialEq for Error
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Error for Error
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more

impl Display for Error
[src]

Formats the value using the given formatter.

impl From<NulError> for Error
[src]

Performs the conversion.

impl From<JoinPathsError> for Error
[src]

Performs the conversion.