diff options
Diffstat (limited to 'internal/errors')
-rw-r--r-- | internal/errors/errors.go | 10 |
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") +) |