forked from gogs/git-module
-
Notifications
You must be signed in to change notification settings - Fork 0
/
error.go
21 lines (18 loc) · 793 Bytes
/
error.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright 2015 The Gogs Authors. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
package git
import (
"errors"
)
var (
ErrParentNotExist = errors.New("parent does not exist")
ErrSubmoduleNotExist = errors.New("submodule does not exist")
ErrRevisionNotExist = errors.New("revision does not exist")
ErrRemoteNotExist = errors.New("remote does not exist")
ErrURLNotExist = errors.New("URL does not exist")
ErrExecTimeout = errors.New("execution was timed out")
ErrNoMergeBase = errors.New("no merge based was found")
ErrNotBlob = errors.New("the entry is not a blob")
ErrNotDeleteNonPushURLs = errors.New("will not delete all non-push URLs")
)