Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FieldError ¶
type FieldError struct {
// contains filtered or unexported fields
}
FieldError wraps around the validator error so it can be used and caught specifically
func NewFieldError ¶
func NewFieldError(err validator.FieldError) FieldError
NewFieldError returns a field error
func (FieldError) String ¶
func (q FieldError) String() string
type InActiveUserError ¶
type InActiveUserError struct {
// contains filtered or unexported fields
}
InActiveUserError defines an inactive user error
func NewInActiveUserError ¶
func NewInActiveUserError(message string) InActiveUserError
NewInActiveUserError creates a new inactive user error
func (InActiveUserError) Error ¶
func (i InActiveUserError) Error() string
Error returns the error message
Click to show internal directories.
Click to hide internal directories.