Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DynamoMultiError ¶
type DynamoMultiError []error
DynamoMultiError is an error wrapping multiple validation errors returned by Dynamo.ValidateAll() if the designated constraints aren't met.
func (DynamoMultiError) AllErrors ¶
func (m DynamoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DynamoMultiError) Error ¶
func (m DynamoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DynamoValidationError ¶
type DynamoValidationError struct {
// contains filtered or unexported fields
}
DynamoValidationError is the validation error returned by Dynamo.Validate if the designated constraints aren't met.
func (DynamoValidationError) Cause ¶
func (e DynamoValidationError) Cause() error
Cause function returns cause value.
func (DynamoValidationError) Error ¶
func (e DynamoValidationError) Error() string
Error satisfies the builtin error interface
func (DynamoValidationError) ErrorName ¶
func (e DynamoValidationError) ErrorName() string
ErrorName returns error name.
func (DynamoValidationError) Field ¶
func (e DynamoValidationError) Field() string
Field function returns field value.
func (DynamoValidationError) Key ¶
func (e DynamoValidationError) Key() bool
Key function returns key value.
func (DynamoValidationError) Reason ¶
func (e DynamoValidationError) Reason() string
Reason function returns reason value.
Click to show internal directories.
Click to hide internal directories.