Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ValidatorError ¶
type ValidatorError struct { Message string Kind ValidatorErrorType }
func NewValidatorError ¶
func NewValidatorError(message string, kind ValidatorErrorType) ValidatorError
func (ValidatorError) Error ¶
func (v ValidatorError) Error() string
func (ValidatorError) IsNotFound ¶
func (v ValidatorError) IsNotFound() bool
func (ValidatorError) MultipleValidators ¶
func (v ValidatorError) MultipleValidators() bool
type ValidatorErrorType ¶
type ValidatorErrorType int
const ( ValidatorErrorUnknown ValidatorErrorType = iota ValidatorErrorNotFound ValidatorErrorMultiple )
func (ValidatorErrorType) String ¶
func (vt ValidatorErrorType) String() string
Click to show internal directories.
Click to hide internal directories.