Documentation ¶
Index ¶
- type AnyRulesMultiError
- type AnyRulesValidationError
- type BoolRulesMultiError
- type BoolRulesValidationError
- type BytesRulesMultiError
- type BytesRulesValidationError
- type DoubleRulesMultiError
- type DoubleRulesValidationError
- func (e DoubleRulesValidationError) Cause() error
- func (e DoubleRulesValidationError) Error() string
- func (e DoubleRulesValidationError) ErrorName() string
- func (e DoubleRulesValidationError) Field() string
- func (e DoubleRulesValidationError) Key() bool
- func (e DoubleRulesValidationError) Reason() string
- type DurationRulesMultiError
- type DurationRulesValidationError
- func (e DurationRulesValidationError) Cause() error
- func (e DurationRulesValidationError) Error() string
- func (e DurationRulesValidationError) ErrorName() string
- func (e DurationRulesValidationError) Field() string
- func (e DurationRulesValidationError) Key() bool
- func (e DurationRulesValidationError) Reason() string
- type EnumRulesMultiError
- type EnumRulesValidationError
- type FieldRulesMultiError
- type FieldRulesValidationError
- type Fixed32RulesMultiError
- type Fixed32RulesValidationError
- func (e Fixed32RulesValidationError) Cause() error
- func (e Fixed32RulesValidationError) Error() string
- func (e Fixed32RulesValidationError) ErrorName() string
- func (e Fixed32RulesValidationError) Field() string
- func (e Fixed32RulesValidationError) Key() bool
- func (e Fixed32RulesValidationError) Reason() string
- type Fixed64RulesMultiError
- type Fixed64RulesValidationError
- func (e Fixed64RulesValidationError) Cause() error
- func (e Fixed64RulesValidationError) Error() string
- func (e Fixed64RulesValidationError) ErrorName() string
- func (e Fixed64RulesValidationError) Field() string
- func (e Fixed64RulesValidationError) Key() bool
- func (e Fixed64RulesValidationError) Reason() string
- type FloatRulesMultiError
- type FloatRulesValidationError
- type Int32RulesMultiError
- type Int32RulesValidationError
- type Int64RulesMultiError
- type Int64RulesValidationError
- type MapRulesMultiError
- type MapRulesValidationError
- type MessageRulesMultiError
- type MessageRulesValidationError
- func (e MessageRulesValidationError) Cause() error
- func (e MessageRulesValidationError) Error() string
- func (e MessageRulesValidationError) ErrorName() string
- func (e MessageRulesValidationError) Field() string
- func (e MessageRulesValidationError) Key() bool
- func (e MessageRulesValidationError) Reason() string
- type RepeatedRulesMultiError
- type RepeatedRulesValidationError
- func (e RepeatedRulesValidationError) Cause() error
- func (e RepeatedRulesValidationError) Error() string
- func (e RepeatedRulesValidationError) ErrorName() string
- func (e RepeatedRulesValidationError) Field() string
- func (e RepeatedRulesValidationError) Key() bool
- func (e RepeatedRulesValidationError) Reason() string
- type SFixed32RulesMultiError
- type SFixed32RulesValidationError
- func (e SFixed32RulesValidationError) Cause() error
- func (e SFixed32RulesValidationError) Error() string
- func (e SFixed32RulesValidationError) ErrorName() string
- func (e SFixed32RulesValidationError) Field() string
- func (e SFixed32RulesValidationError) Key() bool
- func (e SFixed32RulesValidationError) Reason() string
- type SFixed64RulesMultiError
- type SFixed64RulesValidationError
- func (e SFixed64RulesValidationError) Cause() error
- func (e SFixed64RulesValidationError) Error() string
- func (e SFixed64RulesValidationError) ErrorName() string
- func (e SFixed64RulesValidationError) Field() string
- func (e SFixed64RulesValidationError) Key() bool
- func (e SFixed64RulesValidationError) Reason() string
- type SInt32RulesMultiError
- type SInt32RulesValidationError
- func (e SInt32RulesValidationError) Cause() error
- func (e SInt32RulesValidationError) Error() string
- func (e SInt32RulesValidationError) ErrorName() string
- func (e SInt32RulesValidationError) Field() string
- func (e SInt32RulesValidationError) Key() bool
- func (e SInt32RulesValidationError) Reason() string
- type SInt64RulesMultiError
- type SInt64RulesValidationError
- func (e SInt64RulesValidationError) Cause() error
- func (e SInt64RulesValidationError) Error() string
- func (e SInt64RulesValidationError) ErrorName() string
- func (e SInt64RulesValidationError) Field() string
- func (e SInt64RulesValidationError) Key() bool
- func (e SInt64RulesValidationError) Reason() string
- type StringRulesMultiError
- type StringRulesValidationError
- func (e StringRulesValidationError) Cause() error
- func (e StringRulesValidationError) Error() string
- func (e StringRulesValidationError) ErrorName() string
- func (e StringRulesValidationError) Field() string
- func (e StringRulesValidationError) Key() bool
- func (e StringRulesValidationError) Reason() string
- type TimestampRulesMultiError
- type TimestampRulesValidationError
- func (e TimestampRulesValidationError) Cause() error
- func (e TimestampRulesValidationError) Error() string
- func (e TimestampRulesValidationError) ErrorName() string
- func (e TimestampRulesValidationError) Field() string
- func (e TimestampRulesValidationError) Key() bool
- func (e TimestampRulesValidationError) Reason() string
- type UInt32RulesMultiError
- type UInt32RulesValidationError
- func (e UInt32RulesValidationError) Cause() error
- func (e UInt32RulesValidationError) Error() string
- func (e UInt32RulesValidationError) ErrorName() string
- func (e UInt32RulesValidationError) Field() string
- func (e UInt32RulesValidationError) Key() bool
- func (e UInt32RulesValidationError) Reason() string
- type UInt64RulesMultiError
- type UInt64RulesValidationError
- func (e UInt64RulesValidationError) Cause() error
- func (e UInt64RulesValidationError) Error() string
- func (e UInt64RulesValidationError) ErrorName() string
- func (e UInt64RulesValidationError) Field() string
- func (e UInt64RulesValidationError) Key() bool
- func (e UInt64RulesValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnyRulesMultiError ¶
type AnyRulesMultiError []error
AnyRulesMultiError is an error wrapping multiple validation errors returned by AnyRules.ValidateAll() if the designated constraints aren't met.
func (AnyRulesMultiError) AllErrors ¶
func (m AnyRulesMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AnyRulesMultiError) Error ¶
func (m AnyRulesMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AnyRulesValidationError ¶
type AnyRulesValidationError struct {
// contains filtered or unexported fields
}
AnyRulesValidationError is the validation error returned by AnyRules.Validate if the designated constraints aren't met.
func (AnyRulesValidationError) Cause ¶
func (e AnyRulesValidationError) Cause() error
Cause function returns cause value.
func (AnyRulesValidationError) Error ¶
func (e AnyRulesValidationError) Error() string
Error satisfies the builtin error interface
func (AnyRulesValidationError) ErrorName ¶
func (e AnyRulesValidationError) ErrorName() string
ErrorName returns error name.
func (AnyRulesValidationError) Field ¶
func (e AnyRulesValidationError) Field() string
Field function returns field value.
func (AnyRulesValidationError) Key ¶
func (e AnyRulesValidationError) Key() bool
Key function returns key value.
func (AnyRulesValidationError) Reason ¶
func (e AnyRulesValidationError) Reason() string
Reason function returns reason value.
type BoolRulesMultiError ¶
type BoolRulesMultiError []error
BoolRulesMultiError is an error wrapping multiple validation errors returned by BoolRules.ValidateAll() if the designated constraints aren't met.
func (BoolRulesMultiError) AllErrors ¶
func (m BoolRulesMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BoolRulesMultiError) Error ¶
func (m BoolRulesMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BoolRulesValidationError ¶
type BoolRulesValidationError struct {
// contains filtered or unexported fields
}
BoolRulesValidationError is the validation error returned by BoolRules.Validate if the designated constraints aren't met.
func (BoolRulesValidationError) Cause ¶
func (e BoolRulesValidationError) Cause() error
Cause function returns cause value.
func (BoolRulesValidationError) Error ¶
func (e BoolRulesValidationError) Error() string
Error satisfies the builtin error interface
func (BoolRulesValidationError) ErrorName ¶
func (e BoolRulesValidationError) ErrorName() string
ErrorName returns error name.
func (BoolRulesValidationError) Field ¶
func (e BoolRulesValidationError) Field() string
Field function returns field value.
func (BoolRulesValidationError) Key ¶
func (e BoolRulesValidationError) Key() bool
Key function returns key value.
func (BoolRulesValidationError) Reason ¶
func (e BoolRulesValidationError) Reason() string
Reason function returns reason value.
type BytesRulesMultiError ¶
type BytesRulesMultiError []error
BytesRulesMultiError is an error wrapping multiple validation errors returned by BytesRules.ValidateAll() if the designated constraints aren't met.
func (BytesRulesMultiError) AllErrors ¶
func (m BytesRulesMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BytesRulesMultiError) Error ¶
func (m BytesRulesMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BytesRulesValidationError ¶
type BytesRulesValidationError struct {
// contains filtered or unexported fields
}
BytesRulesValidationError is the validation error returned by BytesRules.Validate if the designated constraints aren't met.
func (BytesRulesValidationError) Cause ¶
func (e BytesRulesValidationError) Cause() error
Cause function returns cause value.
func (BytesRulesValidationError) Error ¶
func (e BytesRulesValidationError) Error() string
Error satisfies the builtin error interface
func (BytesRulesValidationError) ErrorName ¶
func (e BytesRulesValidationError) ErrorName() string
ErrorName returns error name.
func (BytesRulesValidationError) Field ¶
func (e BytesRulesValidationError) Field() string
Field function returns field value.
func (BytesRulesValidationError) Key ¶
func (e BytesRulesValidationError) Key() bool
Key function returns key value.
func (BytesRulesValidationError) Reason ¶
func (e BytesRulesValidationError) Reason() string
Reason function returns reason value.
type DoubleRulesMultiError ¶
type DoubleRulesMultiError []error
DoubleRulesMultiError is an error wrapping multiple validation errors returned by DoubleRules.ValidateAll() if the designated constraints aren't met.
func (DoubleRulesMultiError) AllErrors ¶
func (m DoubleRulesMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DoubleRulesMultiError) Error ¶
func (m DoubleRulesMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DoubleRulesValidationError ¶
type DoubleRulesValidationError struct {
// contains filtered or unexported fields
}
DoubleRulesValidationError is the validation error returned by DoubleRules.Validate if the designated constraints aren't met.
func (DoubleRulesValidationError) Cause ¶
func (e DoubleRulesValidationError) Cause() error
Cause function returns cause value.
func (DoubleRulesValidationError) Error ¶
func (e DoubleRulesValidationError) Error() string
Error satisfies the builtin error interface
func (DoubleRulesValidationError) ErrorName ¶
func (e DoubleRulesValidationError) ErrorName() string
ErrorName returns error name.
func (DoubleRulesValidationError) Field ¶
func (e DoubleRulesValidationError) Field() string
Field function returns field value.
func (DoubleRulesValidationError) Key ¶
func (e DoubleRulesValidationError) Key() bool
Key function returns key value.
func (DoubleRulesValidationError) Reason ¶
func (e DoubleRulesValidationError) Reason() string
Reason function returns reason value.
type DurationRulesMultiError ¶
type DurationRulesMultiError []error
DurationRulesMultiError is an error wrapping multiple validation errors returned by DurationRules.ValidateAll() if the designated constraints aren't met.
func (DurationRulesMultiError) AllErrors ¶
func (m DurationRulesMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DurationRulesMultiError) Error ¶
func (m DurationRulesMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DurationRulesValidationError ¶
type DurationRulesValidationError struct {
// contains filtered or unexported fields
}
DurationRulesValidationError is the validation error returned by DurationRules.Validate if the designated constraints aren't met.
func (DurationRulesValidationError) Cause ¶
func (e DurationRulesValidationError) Cause() error
Cause function returns cause value.
func (DurationRulesValidationError) Error ¶
func (e DurationRulesValidationError) Error() string
Error satisfies the builtin error interface
func (DurationRulesValidationError) ErrorName ¶
func (e DurationRulesValidationError) ErrorName() string
ErrorName returns error name.
func (DurationRulesValidationError) Field ¶
func (e DurationRulesValidationError) Field() string
Field function returns field value.
func (DurationRulesValidationError) Key ¶
func (e DurationRulesValidationError) Key() bool
Key function returns key value.
func (DurationRulesValidationError) Reason ¶
func (e DurationRulesValidationError) Reason() string
Reason function returns reason value.
type EnumRulesMultiError ¶
type EnumRulesMultiError []error
EnumRulesMultiError is an error wrapping multiple validation errors returned by EnumRules.ValidateAll() if the designated constraints aren't met.
func (EnumRulesMultiError) AllErrors ¶
func (m EnumRulesMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EnumRulesMultiError) Error ¶
func (m EnumRulesMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EnumRulesValidationError ¶
type EnumRulesValidationError struct {
// contains filtered or unexported fields
}
EnumRulesValidationError is the validation error returned by EnumRules.Validate if the designated constraints aren't met.
func (EnumRulesValidationError) Cause ¶
func (e EnumRulesValidationError) Cause() error
Cause function returns cause value.
func (EnumRulesValidationError) Error ¶
func (e EnumRulesValidationError) Error() string
Error satisfies the builtin error interface
func (EnumRulesValidationError) ErrorName ¶
func (e EnumRulesValidationError) ErrorName() string
ErrorName returns error name.
func (EnumRulesValidationError) Field ¶
func (e EnumRulesValidationError) Field() string
Field function returns field value.
func (EnumRulesValidationError) Key ¶
func (e EnumRulesValidationError) Key() bool
Key function returns key value.
func (EnumRulesValidationError) Reason ¶
func (e EnumRulesValidationError) Reason() string
Reason function returns reason value.
type FieldRulesMultiError ¶
type FieldRulesMultiError []error
FieldRulesMultiError is an error wrapping multiple validation errors returned by FieldRules.ValidateAll() if the designated constraints aren't met.
func (FieldRulesMultiError) AllErrors ¶
func (m FieldRulesMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FieldRulesMultiError) Error ¶
func (m FieldRulesMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FieldRulesValidationError ¶
type FieldRulesValidationError struct {
// contains filtered or unexported fields
}
FieldRulesValidationError is the validation error returned by FieldRules.Validate if the designated constraints aren't met.
func (FieldRulesValidationError) Cause ¶
func (e FieldRulesValidationError) Cause() error
Cause function returns cause value.
func (FieldRulesValidationError) Error ¶
func (e FieldRulesValidationError) Error() string
Error satisfies the builtin error interface
func (FieldRulesValidationError) ErrorName ¶
func (e FieldRulesValidationError) ErrorName() string
ErrorName returns error name.
func (FieldRulesValidationError) Field ¶
func (e FieldRulesValidationError) Field() string
Field function returns field value.
func (FieldRulesValidationError) Key ¶
func (e FieldRulesValidationError) Key() bool
Key function returns key value.
func (FieldRulesValidationError) Reason ¶
func (e FieldRulesValidationError) Reason() string
Reason function returns reason value.
type Fixed32RulesMultiError ¶
type Fixed32RulesMultiError []error
Fixed32RulesMultiError is an error wrapping multiple validation errors returned by Fixed32Rules.ValidateAll() if the designated constraints aren't met.
func (Fixed32RulesMultiError) AllErrors ¶
func (m Fixed32RulesMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Fixed32RulesMultiError) Error ¶
func (m Fixed32RulesMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Fixed32RulesValidationError ¶
type Fixed32RulesValidationError struct {
// contains filtered or unexported fields
}
Fixed32RulesValidationError is the validation error returned by Fixed32Rules.Validate if the designated constraints aren't met.
func (Fixed32RulesValidationError) Cause ¶
func (e Fixed32RulesValidationError) Cause() error
Cause function returns cause value.
func (Fixed32RulesValidationError) Error ¶
func (e Fixed32RulesValidationError) Error() string
Error satisfies the builtin error interface
func (Fixed32RulesValidationError) ErrorName ¶
func (e Fixed32RulesValidationError) ErrorName() string
ErrorName returns error name.
func (Fixed32RulesValidationError) Field ¶
func (e Fixed32RulesValidationError) Field() string
Field function returns field value.
func (Fixed32RulesValidationError) Key ¶
func (e Fixed32RulesValidationError) Key() bool
Key function returns key value.
func (Fixed32RulesValidationError) Reason ¶
func (e Fixed32RulesValidationError) Reason() string
Reason function returns reason value.
type Fixed64RulesMultiError ¶
type Fixed64RulesMultiError []error
Fixed64RulesMultiError is an error wrapping multiple validation errors returned by Fixed64Rules.ValidateAll() if the designated constraints aren't met.
func (Fixed64RulesMultiError) AllErrors ¶
func (m Fixed64RulesMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Fixed64RulesMultiError) Error ¶
func (m Fixed64RulesMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Fixed64RulesValidationError ¶
type Fixed64RulesValidationError struct {
// contains filtered or unexported fields
}
Fixed64RulesValidationError is the validation error returned by Fixed64Rules.Validate if the designated constraints aren't met.
func (Fixed64RulesValidationError) Cause ¶
func (e Fixed64RulesValidationError) Cause() error
Cause function returns cause value.
func (Fixed64RulesValidationError) Error ¶
func (e Fixed64RulesValidationError) Error() string
Error satisfies the builtin error interface
func (Fixed64RulesValidationError) ErrorName ¶
func (e Fixed64RulesValidationError) ErrorName() string
ErrorName returns error name.
func (Fixed64RulesValidationError) Field ¶
func (e Fixed64RulesValidationError) Field() string
Field function returns field value.
func (Fixed64RulesValidationError) Key ¶
func (e Fixed64RulesValidationError) Key() bool
Key function returns key value.
func (Fixed64RulesValidationError) Reason ¶
func (e Fixed64RulesValidationError) Reason() string
Reason function returns reason value.
type FloatRulesMultiError ¶
type FloatRulesMultiError []error
FloatRulesMultiError is an error wrapping multiple validation errors returned by FloatRules.ValidateAll() if the designated constraints aren't met.
func (FloatRulesMultiError) AllErrors ¶
func (m FloatRulesMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FloatRulesMultiError) Error ¶
func (m FloatRulesMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FloatRulesValidationError ¶
type FloatRulesValidationError struct {
// contains filtered or unexported fields
}
FloatRulesValidationError is the validation error returned by FloatRules.Validate if the designated constraints aren't met.
func (FloatRulesValidationError) Cause ¶
func (e FloatRulesValidationError) Cause() error
Cause function returns cause value.
func (FloatRulesValidationError) Error ¶
func (e FloatRulesValidationError) Error() string
Error satisfies the builtin error interface
func (FloatRulesValidationError) ErrorName ¶
func (e FloatRulesValidationError) ErrorName() string
ErrorName returns error name.
func (FloatRulesValidationError) Field ¶
func (e FloatRulesValidationError) Field() string
Field function returns field value.
func (FloatRulesValidationError) Key ¶
func (e FloatRulesValidationError) Key() bool
Key function returns key value.
func (FloatRulesValidationError) Reason ¶
func (e FloatRulesValidationError) Reason() string
Reason function returns reason value.
type Int32RulesMultiError ¶
type Int32RulesMultiError []error
Int32RulesMultiError is an error wrapping multiple validation errors returned by Int32Rules.ValidateAll() if the designated constraints aren't met.
func (Int32RulesMultiError) AllErrors ¶
func (m Int32RulesMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Int32RulesMultiError) Error ¶
func (m Int32RulesMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Int32RulesValidationError ¶
type Int32RulesValidationError struct {
// contains filtered or unexported fields
}
Int32RulesValidationError is the validation error returned by Int32Rules.Validate if the designated constraints aren't met.
func (Int32RulesValidationError) Cause ¶
func (e Int32RulesValidationError) Cause() error
Cause function returns cause value.
func (Int32RulesValidationError) Error ¶
func (e Int32RulesValidationError) Error() string
Error satisfies the builtin error interface
func (Int32RulesValidationError) ErrorName ¶
func (e Int32RulesValidationError) ErrorName() string
ErrorName returns error name.
func (Int32RulesValidationError) Field ¶
func (e Int32RulesValidationError) Field() string
Field function returns field value.
func (Int32RulesValidationError) Key ¶
func (e Int32RulesValidationError) Key() bool
Key function returns key value.
func (Int32RulesValidationError) Reason ¶
func (e Int32RulesValidationError) Reason() string
Reason function returns reason value.
type Int64RulesMultiError ¶
type Int64RulesMultiError []error
Int64RulesMultiError is an error wrapping multiple validation errors returned by Int64Rules.ValidateAll() if the designated constraints aren't met.
func (Int64RulesMultiError) AllErrors ¶
func (m Int64RulesMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Int64RulesMultiError) Error ¶
func (m Int64RulesMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Int64RulesValidationError ¶
type Int64RulesValidationError struct {
// contains filtered or unexported fields
}
Int64RulesValidationError is the validation error returned by Int64Rules.Validate if the designated constraints aren't met.
func (Int64RulesValidationError) Cause ¶
func (e Int64RulesValidationError) Cause() error
Cause function returns cause value.
func (Int64RulesValidationError) Error ¶
func (e Int64RulesValidationError) Error() string
Error satisfies the builtin error interface
func (Int64RulesValidationError) ErrorName ¶
func (e Int64RulesValidationError) ErrorName() string
ErrorName returns error name.
func (Int64RulesValidationError) Field ¶
func (e Int64RulesValidationError) Field() string
Field function returns field value.
func (Int64RulesValidationError) Key ¶
func (e Int64RulesValidationError) Key() bool
Key function returns key value.
func (Int64RulesValidationError) Reason ¶
func (e Int64RulesValidationError) Reason() string
Reason function returns reason value.
type MapRulesMultiError ¶
type MapRulesMultiError []error
MapRulesMultiError is an error wrapping multiple validation errors returned by MapRules.ValidateAll() if the designated constraints aren't met.
func (MapRulesMultiError) AllErrors ¶
func (m MapRulesMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MapRulesMultiError) Error ¶
func (m MapRulesMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MapRulesValidationError ¶
type MapRulesValidationError struct {
// contains filtered or unexported fields
}
MapRulesValidationError is the validation error returned by MapRules.Validate if the designated constraints aren't met.
func (MapRulesValidationError) Cause ¶
func (e MapRulesValidationError) Cause() error
Cause function returns cause value.
func (MapRulesValidationError) Error ¶
func (e MapRulesValidationError) Error() string
Error satisfies the builtin error interface
func (MapRulesValidationError) ErrorName ¶
func (e MapRulesValidationError) ErrorName() string
ErrorName returns error name.
func (MapRulesValidationError) Field ¶
func (e MapRulesValidationError) Field() string
Field function returns field value.
func (MapRulesValidationError) Key ¶
func (e MapRulesValidationError) Key() bool
Key function returns key value.
func (MapRulesValidationError) Reason ¶
func (e MapRulesValidationError) Reason() string
Reason function returns reason value.
type MessageRulesMultiError ¶
type MessageRulesMultiError []error
MessageRulesMultiError is an error wrapping multiple validation errors returned by MessageRules.ValidateAll() if the designated constraints aren't met.
func (MessageRulesMultiError) AllErrors ¶
func (m MessageRulesMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MessageRulesMultiError) Error ¶
func (m MessageRulesMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MessageRulesValidationError ¶
type MessageRulesValidationError struct {
// contains filtered or unexported fields
}
MessageRulesValidationError is the validation error returned by MessageRules.Validate if the designated constraints aren't met.
func (MessageRulesValidationError) Cause ¶
func (e MessageRulesValidationError) Cause() error
Cause function returns cause value.
func (MessageRulesValidationError) Error ¶
func (e MessageRulesValidationError) Error() string
Error satisfies the builtin error interface
func (MessageRulesValidationError) ErrorName ¶
func (e MessageRulesValidationError) ErrorName() string
ErrorName returns error name.
func (MessageRulesValidationError) Field ¶
func (e MessageRulesValidationError) Field() string
Field function returns field value.
func (MessageRulesValidationError) Key ¶
func (e MessageRulesValidationError) Key() bool
Key function returns key value.
func (MessageRulesValidationError) Reason ¶
func (e MessageRulesValidationError) Reason() string
Reason function returns reason value.
type RepeatedRulesMultiError ¶
type RepeatedRulesMultiError []error
RepeatedRulesMultiError is an error wrapping multiple validation errors returned by RepeatedRules.ValidateAll() if the designated constraints aren't met.
func (RepeatedRulesMultiError) AllErrors ¶
func (m RepeatedRulesMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RepeatedRulesMultiError) Error ¶
func (m RepeatedRulesMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RepeatedRulesValidationError ¶
type RepeatedRulesValidationError struct {
// contains filtered or unexported fields
}
RepeatedRulesValidationError is the validation error returned by RepeatedRules.Validate if the designated constraints aren't met.
func (RepeatedRulesValidationError) Cause ¶
func (e RepeatedRulesValidationError) Cause() error
Cause function returns cause value.
func (RepeatedRulesValidationError) Error ¶
func (e RepeatedRulesValidationError) Error() string
Error satisfies the builtin error interface
func (RepeatedRulesValidationError) ErrorName ¶
func (e RepeatedRulesValidationError) ErrorName() string
ErrorName returns error name.
func (RepeatedRulesValidationError) Field ¶
func (e RepeatedRulesValidationError) Field() string
Field function returns field value.
func (RepeatedRulesValidationError) Key ¶
func (e RepeatedRulesValidationError) Key() bool
Key function returns key value.
func (RepeatedRulesValidationError) Reason ¶
func (e RepeatedRulesValidationError) Reason() string
Reason function returns reason value.
type SFixed32RulesMultiError ¶
type SFixed32RulesMultiError []error
SFixed32RulesMultiError is an error wrapping multiple validation errors returned by SFixed32Rules.ValidateAll() if the designated constraints aren't met.
func (SFixed32RulesMultiError) AllErrors ¶
func (m SFixed32RulesMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SFixed32RulesMultiError) Error ¶
func (m SFixed32RulesMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SFixed32RulesValidationError ¶
type SFixed32RulesValidationError struct {
// contains filtered or unexported fields
}
SFixed32RulesValidationError is the validation error returned by SFixed32Rules.Validate if the designated constraints aren't met.
func (SFixed32RulesValidationError) Cause ¶
func (e SFixed32RulesValidationError) Cause() error
Cause function returns cause value.
func (SFixed32RulesValidationError) Error ¶
func (e SFixed32RulesValidationError) Error() string
Error satisfies the builtin error interface
func (SFixed32RulesValidationError) ErrorName ¶
func (e SFixed32RulesValidationError) ErrorName() string
ErrorName returns error name.
func (SFixed32RulesValidationError) Field ¶
func (e SFixed32RulesValidationError) Field() string
Field function returns field value.
func (SFixed32RulesValidationError) Key ¶
func (e SFixed32RulesValidationError) Key() bool
Key function returns key value.
func (SFixed32RulesValidationError) Reason ¶
func (e SFixed32RulesValidationError) Reason() string
Reason function returns reason value.
type SFixed64RulesMultiError ¶
type SFixed64RulesMultiError []error
SFixed64RulesMultiError is an error wrapping multiple validation errors returned by SFixed64Rules.ValidateAll() if the designated constraints aren't met.
func (SFixed64RulesMultiError) AllErrors ¶
func (m SFixed64RulesMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SFixed64RulesMultiError) Error ¶
func (m SFixed64RulesMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SFixed64RulesValidationError ¶
type SFixed64RulesValidationError struct {
// contains filtered or unexported fields
}
SFixed64RulesValidationError is the validation error returned by SFixed64Rules.Validate if the designated constraints aren't met.
func (SFixed64RulesValidationError) Cause ¶
func (e SFixed64RulesValidationError) Cause() error
Cause function returns cause value.
func (SFixed64RulesValidationError) Error ¶
func (e SFixed64RulesValidationError) Error() string
Error satisfies the builtin error interface
func (SFixed64RulesValidationError) ErrorName ¶
func (e SFixed64RulesValidationError) ErrorName() string
ErrorName returns error name.
func (SFixed64RulesValidationError) Field ¶
func (e SFixed64RulesValidationError) Field() string
Field function returns field value.
func (SFixed64RulesValidationError) Key ¶
func (e SFixed64RulesValidationError) Key() bool
Key function returns key value.
func (SFixed64RulesValidationError) Reason ¶
func (e SFixed64RulesValidationError) Reason() string
Reason function returns reason value.
type SInt32RulesMultiError ¶
type SInt32RulesMultiError []error
SInt32RulesMultiError is an error wrapping multiple validation errors returned by SInt32Rules.ValidateAll() if the designated constraints aren't met.
func (SInt32RulesMultiError) AllErrors ¶
func (m SInt32RulesMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SInt32RulesMultiError) Error ¶
func (m SInt32RulesMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SInt32RulesValidationError ¶
type SInt32RulesValidationError struct {
// contains filtered or unexported fields
}
SInt32RulesValidationError is the validation error returned by SInt32Rules.Validate if the designated constraints aren't met.
func (SInt32RulesValidationError) Cause ¶
func (e SInt32RulesValidationError) Cause() error
Cause function returns cause value.
func (SInt32RulesValidationError) Error ¶
func (e SInt32RulesValidationError) Error() string
Error satisfies the builtin error interface
func (SInt32RulesValidationError) ErrorName ¶
func (e SInt32RulesValidationError) ErrorName() string
ErrorName returns error name.
func (SInt32RulesValidationError) Field ¶
func (e SInt32RulesValidationError) Field() string
Field function returns field value.
func (SInt32RulesValidationError) Key ¶
func (e SInt32RulesValidationError) Key() bool
Key function returns key value.
func (SInt32RulesValidationError) Reason ¶
func (e SInt32RulesValidationError) Reason() string
Reason function returns reason value.
type SInt64RulesMultiError ¶
type SInt64RulesMultiError []error
SInt64RulesMultiError is an error wrapping multiple validation errors returned by SInt64Rules.ValidateAll() if the designated constraints aren't met.
func (SInt64RulesMultiError) AllErrors ¶
func (m SInt64RulesMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SInt64RulesMultiError) Error ¶
func (m SInt64RulesMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SInt64RulesValidationError ¶
type SInt64RulesValidationError struct {
// contains filtered or unexported fields
}
SInt64RulesValidationError is the validation error returned by SInt64Rules.Validate if the designated constraints aren't met.
func (SInt64RulesValidationError) Cause ¶
func (e SInt64RulesValidationError) Cause() error
Cause function returns cause value.
func (SInt64RulesValidationError) Error ¶
func (e SInt64RulesValidationError) Error() string
Error satisfies the builtin error interface
func (SInt64RulesValidationError) ErrorName ¶
func (e SInt64RulesValidationError) ErrorName() string
ErrorName returns error name.
func (SInt64RulesValidationError) Field ¶
func (e SInt64RulesValidationError) Field() string
Field function returns field value.
func (SInt64RulesValidationError) Key ¶
func (e SInt64RulesValidationError) Key() bool
Key function returns key value.
func (SInt64RulesValidationError) Reason ¶
func (e SInt64RulesValidationError) Reason() string
Reason function returns reason value.
type StringRulesMultiError ¶
type StringRulesMultiError []error
StringRulesMultiError is an error wrapping multiple validation errors returned by StringRules.ValidateAll() if the designated constraints aren't met.
func (StringRulesMultiError) AllErrors ¶
func (m StringRulesMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StringRulesMultiError) Error ¶
func (m StringRulesMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StringRulesValidationError ¶
type StringRulesValidationError struct {
// contains filtered or unexported fields
}
StringRulesValidationError is the validation error returned by StringRules.Validate if the designated constraints aren't met.
func (StringRulesValidationError) Cause ¶
func (e StringRulesValidationError) Cause() error
Cause function returns cause value.
func (StringRulesValidationError) Error ¶
func (e StringRulesValidationError) Error() string
Error satisfies the builtin error interface
func (StringRulesValidationError) ErrorName ¶
func (e StringRulesValidationError) ErrorName() string
ErrorName returns error name.
func (StringRulesValidationError) Field ¶
func (e StringRulesValidationError) Field() string
Field function returns field value.
func (StringRulesValidationError) Key ¶
func (e StringRulesValidationError) Key() bool
Key function returns key value.
func (StringRulesValidationError) Reason ¶
func (e StringRulesValidationError) Reason() string
Reason function returns reason value.
type TimestampRulesMultiError ¶
type TimestampRulesMultiError []error
TimestampRulesMultiError is an error wrapping multiple validation errors returned by TimestampRules.ValidateAll() if the designated constraints aren't met.
func (TimestampRulesMultiError) AllErrors ¶
func (m TimestampRulesMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TimestampRulesMultiError) Error ¶
func (m TimestampRulesMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TimestampRulesValidationError ¶
type TimestampRulesValidationError struct {
// contains filtered or unexported fields
}
TimestampRulesValidationError is the validation error returned by TimestampRules.Validate if the designated constraints aren't met.
func (TimestampRulesValidationError) Cause ¶
func (e TimestampRulesValidationError) Cause() error
Cause function returns cause value.
func (TimestampRulesValidationError) Error ¶
func (e TimestampRulesValidationError) Error() string
Error satisfies the builtin error interface
func (TimestampRulesValidationError) ErrorName ¶
func (e TimestampRulesValidationError) ErrorName() string
ErrorName returns error name.
func (TimestampRulesValidationError) Field ¶
func (e TimestampRulesValidationError) Field() string
Field function returns field value.
func (TimestampRulesValidationError) Key ¶
func (e TimestampRulesValidationError) Key() bool
Key function returns key value.
func (TimestampRulesValidationError) Reason ¶
func (e TimestampRulesValidationError) Reason() string
Reason function returns reason value.
type UInt32RulesMultiError ¶
type UInt32RulesMultiError []error
UInt32RulesMultiError is an error wrapping multiple validation errors returned by UInt32Rules.ValidateAll() if the designated constraints aren't met.
func (UInt32RulesMultiError) AllErrors ¶
func (m UInt32RulesMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UInt32RulesMultiError) Error ¶
func (m UInt32RulesMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UInt32RulesValidationError ¶
type UInt32RulesValidationError struct {
// contains filtered or unexported fields
}
UInt32RulesValidationError is the validation error returned by UInt32Rules.Validate if the designated constraints aren't met.
func (UInt32RulesValidationError) Cause ¶
func (e UInt32RulesValidationError) Cause() error
Cause function returns cause value.
func (UInt32RulesValidationError) Error ¶
func (e UInt32RulesValidationError) Error() string
Error satisfies the builtin error interface
func (UInt32RulesValidationError) ErrorName ¶
func (e UInt32RulesValidationError) ErrorName() string
ErrorName returns error name.
func (UInt32RulesValidationError) Field ¶
func (e UInt32RulesValidationError) Field() string
Field function returns field value.
func (UInt32RulesValidationError) Key ¶
func (e UInt32RulesValidationError) Key() bool
Key function returns key value.
func (UInt32RulesValidationError) Reason ¶
func (e UInt32RulesValidationError) Reason() string
Reason function returns reason value.
type UInt64RulesMultiError ¶
type UInt64RulesMultiError []error
UInt64RulesMultiError is an error wrapping multiple validation errors returned by UInt64Rules.ValidateAll() if the designated constraints aren't met.
func (UInt64RulesMultiError) AllErrors ¶
func (m UInt64RulesMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UInt64RulesMultiError) Error ¶
func (m UInt64RulesMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UInt64RulesValidationError ¶
type UInt64RulesValidationError struct {
// contains filtered or unexported fields
}
UInt64RulesValidationError is the validation error returned by UInt64Rules.Validate if the designated constraints aren't met.
func (UInt64RulesValidationError) Cause ¶
func (e UInt64RulesValidationError) Cause() error
Cause function returns cause value.
func (UInt64RulesValidationError) Error ¶
func (e UInt64RulesValidationError) Error() string
Error satisfies the builtin error interface
func (UInt64RulesValidationError) ErrorName ¶
func (e UInt64RulesValidationError) ErrorName() string
ErrorName returns error name.
func (UInt64RulesValidationError) Field ¶
func (e UInt64RulesValidationError) Field() string
Field function returns field value.
func (UInt64RulesValidationError) Key ¶
func (e UInt64RulesValidationError) Key() bool
Key function returns key value.
func (UInt64RulesValidationError) Reason ¶
func (e UInt64RulesValidationError) Reason() string
Reason function returns reason value.