RHGitaly: separation of repo errors into specification and load errors
As the Gitaly Comparison tests showed us in the Python case, the errors to return on wrong `Repository` specifications depend at least on the service, hence we need an added flexibility. For that, we need internally to make a difference between client-side errors (e.g., repo does not exist) and internal errors (failed to load repo, e.g., due to a filesystem issue).
parent
0df79102
No related branches found
No related tags found
Showing
- rust/Cargo.lock 1 addition, 0 deletionsrust/Cargo.lock
- rust/rhgitaly/Cargo.toml 1 addition, 0 deletionsrust/rhgitaly/Cargo.toml
- rust/rhgitaly/src/repository.rs 47 additions, 10 deletionsrust/rhgitaly/src/repository.rs
- rust/rhgitaly/src/service/repository.rs 2 additions, 2 deletionsrust/rhgitaly/src/service/repository.rs
Please register or sign in to comment