Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Cai <jcai@gitlab.com>2020-01-08 05:10:22 +0300
committerJohn Cai <jcai@gitlab.com>2020-01-29 04:36:52 +0300
commite11956afe6753f542be57876f3e5551e5c64d5b8 (patch)
tree78f71f73e51b6bce996d43c3a5a3f040c3d5e7ef /internal/errors
parent6582d73007e9022b7c844d018c80b0eafa9ca189 (diff)
Add test server to automatically start praefect
Diffstat (limited to 'internal/errors')
-rw-r--r--internal/errors/errors.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/internal/errors/errors.go b/internal/errors/errors.go
new file mode 100644
index 000000000..d2efaef52
--- /dev/null
+++ b/internal/errors/errors.go
@@ -0,0 +1,10 @@
+package errors
+
+import "errors"
+
+var (
+ // ErrEmptyRepository is returned when an RPC is missing a repository as an argument
+ ErrEmptyRepository = errors.New("empty Repository")
+ // ErrInvalidRepository is returned when an RPC has an invalid repository as an argument
+ ErrInvalidRepository = errors.New("invalid Repository")
+)