errors

package
v0.10.18 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 14, 2017 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsEmailNotFound

func IsEmailNotFound(err error) bool

func IsEmailNotVerified

func IsEmailNotVerified(err error) bool

func IsEmptyName

func IsEmptyName(err error) bool

func IsInvalidIssueReference

func IsInvalidIssueReference(err error) bool

func IsInvalidLoginSourceType

func IsInvalidLoginSourceType(err error) bool

func IsInvalidRepoReference

func IsInvalidRepoReference(err error) bool

func IsLoginSourceNotActivated

func IsLoginSourceNotActivated(err error) bool

func IsMirrorNotExist

func IsMirrorNotExist(err error) bool

func IsUserNotKeyOwner

func IsUserNotKeyOwner(err error) bool

func New

func New(text string) error

New is a wrapper of real errors.New function.

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 EmptyName

type EmptyName struct{}

func (EmptyName) Error

func (err EmptyName) 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 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL