validations

package
v0.0.0-...-fe3a3ad Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractErrors

func ExtractErrors(e error) *errdetails.BadRequest

ExtractErrors may be used to extract the validation errors from a GRPC error

func NewError

func NewError(ctx context.Context, err error) error

NewError may be used to create a GRPC error with validation errors attached to it

Types

This section is empty.

Jump to

Keyboard shortcuts

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