aboutsummaryrefslogtreecommitdiffstats
path: root/modules/migrations/error.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/migrations/error.go')
-rw-r--r--modules/migrations/error.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/migrations/error.go b/modules/migrations/error.go
index b2e2315fc8..462ba29026 100644
--- a/modules/migrations/error.go
+++ b/modules/migrations/error.go
@@ -14,6 +14,9 @@ import (
var (
// ErrNotSupported returns the error not supported
ErrNotSupported = errors.New("not supported")
+
+ // ErrRepoNotCreated returns the error that repository not created
+ ErrRepoNotCreated = errors.New("repository is not created yet")
)
// IsRateLimitError returns true if the err is github.RateLimitError