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