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