Skip to content
Clone

feat(lib/git): expand graphql error variants

ZhenYi committed
parent 6e81362 commit db4932e Browse files

1 file changed

+1 −0

Modified lib/git/src/graphql/error.rs View lib/git/src/graphql/error.rs
@@ -6,6 +6,7 @@
66fn code_for(err: &GitError) -> &'static str {
77 match err {
88 GitError::NotFound => "NOT_FOUND",
9 GitError::Unauthorized => "UNAUTHORIZED",
910 GitError::Forbidden => "FORBIDDEN",
1011 GitError::Conflict(_) => "CONFLICT",
1112 GitError::InvalidArgument(_) => "INVALID_ARGUMENT",