Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrRequestValidation = errors.New("request validation")
Functions ¶
This section is empty.
Types ¶
type ValidateError ¶
type ValidateError struct {
Message string `json:"message"`
Fields map[string]interface{} `json:"fields"`
// contains filtered or unexported fields
}
func NewValidateError ¶
func NewValidateError(err error) *ValidateError
func (*ValidateError) Error ¶
func (e *ValidateError) Error() string
Click to show internal directories.
Click to hide internal directories.