mirror of
https://github.com/MichaelMure/git-bug.git
synced 2024-12-15 02:01:43 +03:00
18 lines
399 B
Go
18 lines
399 B
Go
package bug
|
|
|
|
import (
|
|
"errors"
|
|
|
|
"github.com/MichaelMure/git-bug/entity"
|
|
)
|
|
|
|
var ErrBugNotExist = errors.New("bug doesn't exist")
|
|
|
|
func NewErrMultipleMatchBug(matching []entity.Id) *entity.ErrMultipleMatch {
|
|
return entity.NewErrMultipleMatch("bug", matching)
|
|
}
|
|
|
|
func NewErrMultipleMatchOp(matching []entity.Id) *entity.ErrMultipleMatch {
|
|
return entity.NewErrMultipleMatch("operation", matching)
|
|
}
|