Documentation ¶
Index ¶
- Variables
- func IsBranchAlreadyExists(err error) bool
- func IsEmailNotFound(err error) bool
- func IsEmailNotVerified(err error) bool
- func IsEmptyName(err error) bool
- func IsErrBranchNotExist(err error) bool
- func IsHookTaskNotExist(err error) bool
- func IsInvalidIssueReference(err error) bool
- func IsInvalidLoginSourceType(err error) bool
- func IsInvalidRepoReference(err error) bool
- func IsIssueNotExist(err error) bool
- func IsLoginSourceMismatch(err error) bool
- func IsLoginSourceNotActivated(err error) bool
- func IsLoginSourceNotExist(err error) bool
- func IsMirrorNotExist(err error) bool
- func IsReachLimitOfRepo(err error) bool
- func IsRepoNotExist(err error) bool
- func IsTeamNotExist(err error) bool
- func IsTwoFactorNotFound(err error) bool
- func IsTwoFactorRecoveryCodeNotFound(err error) bool
- func IsUserNotExist(err error) bool
- func IsUserNotKeyOwner(err error) bool
- func IsWebhookNotExist(err error) bool
- func New(text string) error
- type BranchAlreadyExists
- type EmailNotFound
- type EmailNotVerified
- type EmptyName
- type ErrBranchNotExist
- type HookTaskNotExist
- type InvalidIssueReference
- type InvalidLoginSourceType
- type InvalidRepoReference
- type IssueNotExist
- type LoginSourceMismatch
- type LoginSourceNotActivated
- type LoginSourceNotExist
- type MirrorNotExist
- type ReachLimitOfRepo
- type RepoNotExist
- type TeamNotExist
- type TwoFactorNotFound
- type TwoFactorRecoveryCodeNotFound
- type UserNotExist
- type UserNotKeyOwner
- type WebhookNotExist
Constants ¶
This section is empty.
Variables ¶
View Source
var InternalServerError = errors.New("internal server error")
Functions ¶
func IsBranchAlreadyExists ¶ added in v0.11.33
func IsEmailNotFound ¶
func IsEmailNotVerified ¶
func IsEmptyName ¶
func IsErrBranchNotExist ¶ added in v0.11.43
func IsHookTaskNotExist ¶ added in v0.11.4
func IsInvalidIssueReference ¶
func IsInvalidRepoReference ¶
func IsIssueNotExist ¶ added in v0.11.4
func IsLoginSourceMismatch ¶ added in v0.11.53
func IsLoginSourceNotExist ¶ added in v0.11.53
func IsMirrorNotExist ¶
func IsReachLimitOfRepo ¶ added in v0.11.19
func IsRepoNotExist ¶ added in v0.11.4
func IsTeamNotExist ¶ added in v0.11.79
func IsTwoFactorNotFound ¶ added in v0.11.19
func IsTwoFactorRecoveryCodeNotFound ¶ added in v0.11.19
func IsUserNotExist ¶ added in v0.11.4
func IsUserNotKeyOwner ¶
func IsWebhookNotExist ¶ added in v0.11.4
Types ¶
type BranchAlreadyExists ¶ added in v0.11.33
type BranchAlreadyExists struct {
Name string
}
func (BranchAlreadyExists) Error ¶ added in v0.11.33
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 ErrBranchNotExist ¶ added in v0.11.43
type ErrBranchNotExist struct {
Name string
}
func (ErrBranchNotExist) Error ¶ added in v0.11.43
func (err ErrBranchNotExist) Error() string
type HookTaskNotExist ¶ added in v0.11.4
func (HookTaskNotExist) Error ¶ added in v0.11.4
func (err HookTaskNotExist) Error() string
type InvalidIssueReference ¶
type InvalidIssueReference struct {
Ref string
}
func (InvalidIssueReference) Error ¶
func (err InvalidIssueReference) 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 IssueNotExist ¶ added in v0.11.4
func (IssueNotExist) Error ¶ added in v0.11.4
func (err IssueNotExist) Error() string
type LoginSourceMismatch ¶ added in v0.11.53
func (LoginSourceMismatch) Error ¶ added in v0.11.53
func (err LoginSourceMismatch) Error() string
type LoginSourceNotActivated ¶
type LoginSourceNotActivated struct {
SourceID int64
}
func (LoginSourceNotActivated) Error ¶
func (err LoginSourceNotActivated) Error() string
type LoginSourceNotExist ¶ added in v0.11.53
type LoginSourceNotExist struct {
ID int64
}
func (LoginSourceNotExist) Error ¶ added in v0.11.53
func (err LoginSourceNotExist) Error() string
type MirrorNotExist ¶
type MirrorNotExist struct {
RepoID int64
}
func (MirrorNotExist) Error ¶
func (err MirrorNotExist) Error() string
type ReachLimitOfRepo ¶ added in v0.11.19
type ReachLimitOfRepo struct {
Limit int
}
func (ReachLimitOfRepo) Error ¶ added in v0.11.19
func (err ReachLimitOfRepo) Error() string
type RepoNotExist ¶ added in v0.11.4
func (RepoNotExist) Error ¶ added in v0.11.4
func (err RepoNotExist) Error() string
type TeamNotExist ¶ added in v0.11.79
func (TeamNotExist) Error ¶ added in v0.11.79
func (err TeamNotExist) Error() string
type TwoFactorNotFound ¶ added in v0.11.19
type TwoFactorNotFound struct {
UserID int64
}
func (TwoFactorNotFound) Error ¶ added in v0.11.19
func (err TwoFactorNotFound) Error() string
type TwoFactorRecoveryCodeNotFound ¶ added in v0.11.19
type TwoFactorRecoveryCodeNotFound struct {
Code string
}
func (TwoFactorRecoveryCodeNotFound) Error ¶ added in v0.11.19
func (err TwoFactorRecoveryCodeNotFound) Error() string
type UserNotExist ¶ added in v0.11.4
func (UserNotExist) Error ¶ added in v0.11.4
func (err UserNotExist) Error() string
type UserNotKeyOwner ¶
type UserNotKeyOwner struct {
KeyID int64
}
func (UserNotKeyOwner) Error ¶
func (err UserNotKeyOwner) Error() string
type WebhookNotExist ¶ added in v0.11.4
type WebhookNotExist struct {
ID int64
}
func (WebhookNotExist) Error ¶ added in v0.11.4
func (err WebhookNotExist) Error() string
Click to show internal directories.
Click to hide internal directories.