Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewInvalidInputError ¶
NewInvalidInputError creates a new invalid input error.
func NewNotFoundError ¶
NewNotFoundError creates a new not found error.
func NewStaleDataError ¶
NewStaleDataError creates a new version mismatch error.
func NewValidationError ¶
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
Click to show internal directories.
Click to hide internal directories.