mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-29 18:00:51 +01:00
feat: added modules
This commit is contained in:
10
core/errors/git.go
Normal file
10
core/errors/git.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package errors
|
||||
|
||||
func NewGitError(msg string) (err error) {
|
||||
return NewError(ErrorPrefixGit, msg)
|
||||
}
|
||||
|
||||
var (
|
||||
ErrorGitInvalidAuthType = NewGitError("invalid auth type")
|
||||
ErrorGitNoMainBranch = NewGitError("no main branch")
|
||||
)
|
||||
Reference in New Issue
Block a user