Documentation ¶
Index ¶
- Variables
- func IsBranchAlreadyExists(err error) bool
- func IsEmailNotFound(err error) bool
- func IsEmailNotVerified(err error) bool
- func IsInvalidLoginSourceType(err error) bool
- func IsInvalidRepoReference(err error) bool
- func IsLoginSourceNotActivated(err error) bool
- func IsMirrorNotExist(err error) bool
- func IsUserNotKeyOwner(err error) bool
- func New(text string) error
- type BranchAlreadyExists
- type EmailNotFound
- type EmailNotVerified
- type InvalidLoginSourceType
- type InvalidRepoReference
- type LoginSourceNotActivated
- type MirrorNotExist
- type UserNotKeyOwner
Constants ¶
This section is empty.
Variables ¶
View Source
var InternalServerError = errors.New("internal server error")
Functions ¶
func IsBranchAlreadyExists ¶
func IsEmailNotFound ¶
func IsEmailNotVerified ¶
func IsInvalidRepoReference ¶
func IsMirrorNotExist ¶
func IsUserNotKeyOwner ¶
Types ¶
type BranchAlreadyExists ¶
type BranchAlreadyExists struct {
Name string
}
func (BranchAlreadyExists) Error ¶
func (err BranchAlreadyExists) Error() string
type EmailNotFound ¶
type EmailNotFound struct {
Email string
}
func (EmailNotFound) Error ¶
func (err EmailNotFound) Error() string
type EmailNotVerified ¶
type EmailNotVerified struct {
Email string
}
func (EmailNotVerified) Error ¶
func (err EmailNotVerified) Error() string
type InvalidLoginSourceType ¶
type InvalidLoginSourceType struct {
Type interface{}
}
func (InvalidLoginSourceType) Error ¶
func (err InvalidLoginSourceType) Error() string
type InvalidRepoReference ¶
type InvalidRepoReference struct {
Ref string
}
func (InvalidRepoReference) Error ¶
func (err InvalidRepoReference) Error() string
type LoginSourceNotActivated ¶
type LoginSourceNotActivated struct {
SourceID int64
}
func (LoginSourceNotActivated) Error ¶
func (err LoginSourceNotActivated) Error() string
type MirrorNotExist ¶
type MirrorNotExist struct {
RepoID int64
}
func (MirrorNotExist) Error ¶
func (err MirrorNotExist) Error() string
type UserNotKeyOwner ¶
type UserNotKeyOwner struct {
KeyID int64
}
func (UserNotKeyOwner) Error ¶
func (err UserNotKeyOwner) Error() string
Click to show internal directories.
Click to hide internal directories.