annotations

package
v0.0.0-...-6d99c5e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 2, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

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

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

Cause function returns cause value.

func (CustomHttpPatternValidationError) Error

Error satisfies the builtin error interface

func (CustomHttpPatternValidationError) ErrorName

ErrorName returns error name.

func (CustomHttpPatternValidationError) Field

Field function returns field value.

func (CustomHttpPatternValidationError) Key

Key function returns key value.

func (CustomHttpPatternValidationError) Reason

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL