errors

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package errors provides a set of functions to handle validation errors.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WrapFieldError

func WrapFieldError(err *field.Error, path *field.Path) *field.Error

WrapFieldError wraps the given field.Error adding the given field.Path as root of the Field.

func WrapFieldErrorList added in v1.13.0

func WrapFieldErrorList(errs field.ErrorList, path *field.Path) field.ErrorList

WrapFieldErrorList wraps the given field.ErrorList adding the given field.Path as root of the Field.

Types

This section is empty.

Jump to

Keyboard shortcuts

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