refactoring the error type of this crate.

Moved `Error` in `repo.rs` out into a crate level `Error` in `error.rs`.
Repository specific errors are wrapped by the `crate::Error` as well.

Signed-off-by: Han Xu <keepsimple@gmail.com>
This commit is contained in:
Han Xu
2023-01-24 07:29:55 -08:00
parent da2b58b867
commit 80f8f64e5f
4 changed files with 79 additions and 57 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
toolchain: 1.66.1
components: clippy
- uses: Swatinem/rust-cache@v1
- run: ./scripts/ci/lint