-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy patherrors.go
More file actions
22 lines (19 loc) · 748 Bytes
/
errors.go
File metadata and controls
22 lines (19 loc) · 748 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright © 2016-present Thomas Rabaix <thomas.rabaix@gmail.com>.
//
// Use of this source code is governed by an MIT-style
// license that can be found in the LICENSE file.
package pkgmirror
import (
"errors"
)
var (
SyncInProgressError = errors.New("A synchronization is already running")
DatabaseLockedError = errors.New("The database is locked")
EmptyKeyError = errors.New("No value available")
ResourceNotFoundError = errors.New("Resource not found")
EmptyDataError = errors.New("Empty data")
SameKeyError = errors.New("Same key")
HttpError = errors.New("Http error")
InvalidPackageError = errors.New("Invalid package error")
InvalidReferenceError = errors.New("Invalid reference")
)