errors

package
v1.3.1-0...-9810bd5 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrType = errors.New("type error")
)

Functions

func NewMissingErr

func NewMissingErr(field string, name ...string) error

func NewRequiredErr

func NewRequiredErr(field string) error

Types

type MissingErr

type MissingErr struct {
	// contains filtered or unexported fields
}

func (MissingErr) Error

func (e MissingErr) Error() string

type RequiredErr

type RequiredErr struct {
	// contains filtered or unexported fields
}

func (RequiredErr) Error

func (e RequiredErr) Error() string

Jump to

Keyboard shortcuts

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