error

package
v0.7.10 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DuplicateKeyError

type DuplicateKeyError struct {
	Field string
	Key   string
}

func (DuplicateKeyError) Error

func (e DuplicateKeyError) Error() string

Error returns the error message

type FailedValidationError

type FailedValidationError struct {
	FieldsErrors *map[string][]error
}

func (FailedValidationError) Error

func (f FailedValidationError) Error() string

Error returns a formatted error message for FailedValidationError

Jump to

Keyboard shortcuts

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