Versions in this module Expand all Collapse all v0 v0.11.53 Jun 4, 2018 Changes in this version + func IsLoginSourceMismatch(err error) bool + func IsLoginSourceNotExist(err error) bool + type LoginSourceMismatch struct + Actual int64 + Expect int64 + func (err LoginSourceMismatch) Error() string + type LoginSourceNotExist struct + ID int64 + func (err LoginSourceNotExist) Error() string v0.11.43 Mar 31, 2018 Changes in this version + func IsErrBranchNotExist(err error) bool + type ErrBranchNotExist struct + Name string + func (err ErrBranchNotExist) Error() string v0.11.34 Nov 22, 2017 v0.11.33 Nov 19, 2017 Changes in this version + func IsBranchAlreadyExists(err error) bool + type BranchAlreadyExists struct + Name string + func (err BranchAlreadyExists) Error() string v0.11.29 Aug 15, 2017 v0.11.19 Jun 10, 2017 Changes in this version + func IsReachLimitOfRepo(err error) bool + func IsTwoFactorNotFound(err error) bool + func IsTwoFactorRecoveryCodeNotFound(err error) bool + type ReachLimitOfRepo struct + Limit int + func (err ReachLimitOfRepo) Error() string + type TwoFactorNotFound struct + UserID int64 + func (err TwoFactorNotFound) Error() string + type TwoFactorRecoveryCodeNotFound struct + Code string + func (err TwoFactorRecoveryCodeNotFound) Error() string v0.11.4 Apr 5, 2017 Changes in this version + func IsHookTaskNotExist(err error) bool + func IsIssueNotExist(err error) bool + func IsRepoNotExist(err error) bool + func IsUserNotExist(err error) bool + func IsWebhookNotExist(err error) bool + type HookTaskNotExist struct + HookID int64 + UUID string + func (err HookTaskNotExist) Error() string + type IssueNotExist struct + ID int64 + Index int64 + RepoID int64 + func (err IssueNotExist) Error() string + type RepoNotExist struct + ID int64 + Name string + UserID int64 + func (err RepoNotExist) Error() string + type UserNotExist struct + Name string + UserID int64 + func (err UserNotExist) Error() string + type WebhookNotExist struct + ID int64 + func (err WebhookNotExist) Error() string v0.10.18 Mar 14, 2017 Changes in this version + func IsEmailNotFound(err error) bool + func IsEmailNotVerified(err error) bool + func IsEmptyName(err error) bool + func IsInvalidIssueReference(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 EmailNotFound struct + Email string + func (err EmailNotFound) Error() string + type EmailNotVerified struct + Email string + func (err EmailNotVerified) Error() string + type EmptyName struct + func (err EmptyName) Error() string + type InvalidIssueReference struct + Ref string + func (err InvalidIssueReference) Error() string + type InvalidLoginSourceType struct + Type interface{} + func (err InvalidLoginSourceType) Error() string + type InvalidRepoReference struct + Ref string + func (err InvalidRepoReference) Error() string + type LoginSourceNotActivated struct + SourceID int64 + func (err LoginSourceNotActivated) Error() string + type MirrorNotExist struct + RepoID int64 + func (err MirrorNotExist) Error() string + type UserNotKeyOwner struct + KeyID int64 + func (err UserNotKeyOwner) Error() string