errors

package
v0.10.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewInvalidInputError

func NewInvalidInputError(str string) error

NewInvalidInputError creates a new invalid input error.

func NewNotFoundError

func NewNotFoundError(str string) error

NewNotFoundError creates a new not found error.

func NewStaleDataError

func NewStaleDataError(str string) error

NewStaleDataError creates a new version mismatch error.

func NewValidationError

func NewValidationError(str string) error

NewValidationError creates a new validation error.

Types

type InvalidInputError

type InvalidInputError string

InvalidInputError is returned when a rule or rule change is applied which is invalid.

func (InvalidInputError) Error

func (e InvalidInputError) Error() string

type NotFoundError

type NotFoundError string

NotFoundError is returned when fetching value from rule store that does not exist.

func (NotFoundError) Error

func (e NotFoundError) Error() string

type StaleDataError

type StaleDataError string

StaleDataError is returned when a rule modification can not be completed because rule metadata is no longer valid.

func (StaleDataError) Error

func (e StaleDataError) Error() string

type ValidationError

type ValidationError string

ValidationError is returned when validation failed.

func (ValidationError) Error

func (e ValidationError) Error() string

Jump to

Keyboard shortcuts

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