summaryrefslogtreecommitdiff
path: root/errors.go
blob: 6f0f4daf6488518861673e81b3a7c96e5724efbc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright 2017-2025 WIT.COM Inc. All rights reserved.
// Use of this source code is governed by the GPL 3.0

package main

// checks that repos are in a "normal" state

import (
	"errors"
)

var ErrorLocalDevelBranch error = errors.New("devel branch problem")
var ErrorLocalMasterBranch error = errors.New("master branch problem")
var ErrorNoUserBranch error = errors.New("no user branch")
var ErrorNoDevelBranch error = errors.New("no devel branch")
var ErrorNoMasterBranch error = errors.New("no master branch")
var ErrorLocalBehindDevel error = errors.New("local behind devel")

var ErrorNeedArgvFix error = errors.New("add --fix")