errors

package
v0.3.0-beta.0 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsApplicationAnnotationNotFoundError

func IsApplicationAnnotationNotFoundError(err error) bool

func IsContenderNotFoundError

func IsContenderNotFoundError(err error) bool

func IsIncumbentNotFoundError

func IsIncumbentNotFoundError(err error) bool

func IsInvalidGenerationAnnotationError

func IsInvalidGenerationAnnotationError(err error) bool

func IsMissingGenerationAnnotationError

func IsMissingGenerationAnnotationError(err error) bool

func NewApplicationAnnotationError

func NewApplicationAnnotationError(appName, annotationName string, err error) error

func NewContenderNotFoundError

func NewContenderNotFoundError(appName string) error

func NewIncumbentNotFoundError

func NewIncumbentNotFoundError(appName string) error

func NewInvalidGenerationAnnotationError

func NewInvalidGenerationAnnotationError(relName string, err error) error

func NewMissingGenerationAnnotationError

func NewMissingGenerationAnnotationError(relName string) error

Types

type ApplicationAnnotationError

type ApplicationAnnotationError struct {
	// contains filtered or unexported fields
}

func (*ApplicationAnnotationError) Error

type ContenderNotFoundError

type ContenderNotFoundError struct {
	// contains filtered or unexported fields
}

func (ContenderNotFoundError) Error

func (e ContenderNotFoundError) Error() string

type IncumbentNotFoundError

type IncumbentNotFoundError struct {
	// contains filtered or unexported fields
}

func (IncumbentNotFoundError) Error

func (e IncumbentNotFoundError) Error() string

type InvalidGenerationAnnotationError

type InvalidGenerationAnnotationError struct {
	// contains filtered or unexported fields
}

func (*InvalidGenerationAnnotationError) Error

type MissingGenerationAnnotationError

type MissingGenerationAnnotationError struct {
	// contains filtered or unexported fields
}

func (MissingGenerationAnnotationError) Error

Jump to

Keyboard shortcuts

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