Skip to main content

Module error

Module error 

Source
Expand description

Error types for gitway-lib.

§Examples

use gitway_lib::GitwayError;

fn handle(err: &GitwayError) {
    if err.is_host_key_mismatch() {
        eprintln!("Possible MITM — host key does not match pinned fingerprints.");
    }
}

Structs§

GitwayError
The single error type returned by all gitway-lib operations.