validate

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 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

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

Error satisfies the builtin error interface

func (BytesRulesValidationError) ErrorName

func (e BytesRulesValidationError) ErrorName() string

ErrorName returns error name.

func (BytesRulesValidationError) Field

Field function returns field value.

func (BytesRulesValidationError) Key

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

Cause function returns cause value.

func (DoubleRulesValidationError) Error

Error satisfies the builtin error interface

func (DoubleRulesValidationError) ErrorName

func (e DoubleRulesValidationError) ErrorName() string

ErrorName returns error name.

func (DoubleRulesValidationError) Field

Field function returns field value.

func (DoubleRulesValidationError) Key

Key function returns key value.

func (DoubleRulesValidationError) Reason

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

Cause function returns cause value.

func (DurationRulesValidationError) Error

Error satisfies the builtin error interface

func (DurationRulesValidationError) ErrorName

func (e DurationRulesValidationError) ErrorName() string

ErrorName returns error name.

func (DurationRulesValidationError) Field

Field function returns field value.

func (DurationRulesValidationError) Key

Key function returns key value.

func (DurationRulesValidationError) Reason

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

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

Error satisfies the builtin error interface

func (FieldRulesValidationError) ErrorName

func (e FieldRulesValidationError) ErrorName() string

ErrorName returns error name.

func (FieldRulesValidationError) Field

Field function returns field value.

func (FieldRulesValidationError) Key

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

Cause function returns cause value.

func (Fixed32RulesValidationError) Error

Error satisfies the builtin error interface

func (Fixed32RulesValidationError) ErrorName

func (e Fixed32RulesValidationError) ErrorName() string

ErrorName returns error name.

func (Fixed32RulesValidationError) Field

Field function returns field value.

func (Fixed32RulesValidationError) Key

Key function returns key value.

func (Fixed32RulesValidationError) Reason

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

Cause function returns cause value.

func (Fixed64RulesValidationError) Error

Error satisfies the builtin error interface

func (Fixed64RulesValidationError) ErrorName

func (e Fixed64RulesValidationError) ErrorName() string

ErrorName returns error name.

func (Fixed64RulesValidationError) Field

Field function returns field value.

func (Fixed64RulesValidationError) Key

Key function returns key value.

func (Fixed64RulesValidationError) Reason

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

Error satisfies the builtin error interface

func (FloatRulesValidationError) ErrorName

func (e FloatRulesValidationError) ErrorName() string

ErrorName returns error name.

func (FloatRulesValidationError) Field

Field function returns field value.

func (FloatRulesValidationError) Key

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

Error satisfies the builtin error interface

func (Int32RulesValidationError) ErrorName

func (e Int32RulesValidationError) ErrorName() string

ErrorName returns error name.

func (Int32RulesValidationError) Field

Field function returns field value.

func (Int32RulesValidationError) Key

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

Error satisfies the builtin error interface

func (Int64RulesValidationError) ErrorName

func (e Int64RulesValidationError) ErrorName() string

ErrorName returns error name.

func (Int64RulesValidationError) Field

Field function returns field value.

func (Int64RulesValidationError) Key

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

Cause function returns cause value.

func (MessageRulesValidationError) Error

Error satisfies the builtin error interface

func (MessageRulesValidationError) ErrorName

func (e MessageRulesValidationError) ErrorName() string

ErrorName returns error name.

func (MessageRulesValidationError) Field

Field function returns field value.

func (MessageRulesValidationError) Key

Key function returns key value.

func (MessageRulesValidationError) Reason

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

Cause function returns cause value.

func (RepeatedRulesValidationError) Error

Error satisfies the builtin error interface

func (RepeatedRulesValidationError) ErrorName

func (e RepeatedRulesValidationError) ErrorName() string

ErrorName returns error name.

func (RepeatedRulesValidationError) Field

Field function returns field value.

func (RepeatedRulesValidationError) Key

Key function returns key value.

func (RepeatedRulesValidationError) Reason

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

Cause function returns cause value.

func (SFixed32RulesValidationError) Error

Error satisfies the builtin error interface

func (SFixed32RulesValidationError) ErrorName

func (e SFixed32RulesValidationError) ErrorName() string

ErrorName returns error name.

func (SFixed32RulesValidationError) Field

Field function returns field value.

func (SFixed32RulesValidationError) Key

Key function returns key value.

func (SFixed32RulesValidationError) Reason

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

Cause function returns cause value.

func (SFixed64RulesValidationError) Error

Error satisfies the builtin error interface

func (SFixed64RulesValidationError) ErrorName

func (e SFixed64RulesValidationError) ErrorName() string

ErrorName returns error name.

func (SFixed64RulesValidationError) Field

Field function returns field value.

func (SFixed64RulesValidationError) Key

Key function returns key value.

func (SFixed64RulesValidationError) Reason

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

Cause function returns cause value.

func (SInt32RulesValidationError) Error

Error satisfies the builtin error interface

func (SInt32RulesValidationError) ErrorName

func (e SInt32RulesValidationError) ErrorName() string

ErrorName returns error name.

func (SInt32RulesValidationError) Field

Field function returns field value.

func (SInt32RulesValidationError) Key

Key function returns key value.

func (SInt32RulesValidationError) Reason

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

Cause function returns cause value.

func (SInt64RulesValidationError) Error

Error satisfies the builtin error interface

func (SInt64RulesValidationError) ErrorName

func (e SInt64RulesValidationError) ErrorName() string

ErrorName returns error name.

func (SInt64RulesValidationError) Field

Field function returns field value.

func (SInt64RulesValidationError) Key

Key function returns key value.

func (SInt64RulesValidationError) Reason

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

Cause function returns cause value.

func (StringRulesValidationError) Error

Error satisfies the builtin error interface

func (StringRulesValidationError) ErrorName

func (e StringRulesValidationError) ErrorName() string

ErrorName returns error name.

func (StringRulesValidationError) Field

Field function returns field value.

func (StringRulesValidationError) Key

Key function returns key value.

func (StringRulesValidationError) Reason

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

Cause function returns cause value.

func (TimestampRulesValidationError) Error

Error satisfies the builtin error interface

func (TimestampRulesValidationError) ErrorName

func (e TimestampRulesValidationError) ErrorName() string

ErrorName returns error name.

func (TimestampRulesValidationError) Field

Field function returns field value.

func (TimestampRulesValidationError) Key

Key function returns key value.

func (TimestampRulesValidationError) Reason

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

Cause function returns cause value.

func (UInt32RulesValidationError) Error

Error satisfies the builtin error interface

func (UInt32RulesValidationError) ErrorName

func (e UInt32RulesValidationError) ErrorName() string

ErrorName returns error name.

func (UInt32RulesValidationError) Field

Field function returns field value.

func (UInt32RulesValidationError) Key

Key function returns key value.

func (UInt32RulesValidationError) Reason

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

Cause function returns cause value.

func (UInt64RulesValidationError) Error

Error satisfies the builtin error interface

func (UInt64RulesValidationError) ErrorName

func (e UInt64RulesValidationError) ErrorName() string

ErrorName returns error name.

func (UInt64RulesValidationError) Field

Field function returns field value.

func (UInt64RulesValidationError) Key

Key function returns key value.

func (UInt64RulesValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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