validate

package
v0.285.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const ImplementationError errorkit.Error = "ImplementationError"

Variables

This section is empty.

Functions

func Struct

func Struct(v any) error

func StructField

func StructField(sf reflect.StructField, field reflect.Value) error

func Value

func Value(v any) error

Types

type ValidationError

type ValidationError struct{ Cause error }

ValidationError is a validation error, that represents an incorrect content.

func (ValidationError) Error

func (err ValidationError) Error() string

func (ValidationError) Unwrap

func (err ValidationError) Unwrap() error

Jump to

Keyboard shortcuts

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