Documentation ¶
Index ¶
- func IsEmailNotFound(err error) bool
- func IsEmailNotVerified(err error) bool
- func IsEmptyName(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 IsLoginSourceNotActivated(err error) bool
- func IsMirrorNotExist(err error) bool
- func IsReachLimitOfRepo(err error) bool
- func IsRepoNotExist(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 EmailNotFound
- type EmailNotVerified
- type EmptyName
- type HookTaskNotExist
- type InvalidIssueReference
- type InvalidLoginSourceType
- type InvalidRepoReference
- type IssueNotExist
- type LoginSourceNotActivated
- type MirrorNotExist
- type ReachLimitOfRepo
- type RepoNotExist
- type TwoFactorNotFound
- type TwoFactorRecoveryCodeNotFound
- type UserNotExist
- type UserNotKeyOwner
- type WebhookNotExist
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsEmailNotFound ¶
func IsEmailNotVerified ¶
func IsEmptyName ¶
func IsHookTaskNotExist ¶ added in v0.11.4
func IsInvalidIssueReference ¶
func IsInvalidRepoReference ¶
func IsIssueNotExist ¶ added in v0.11.4
func IsMirrorNotExist ¶
func IsReachLimitOfRepo ¶ added in v0.11.19
func IsRepoNotExist ¶ added in v0.11.4
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 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 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 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 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 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.