errs

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrRequestValidation = errors.New("request validation")

Functions

This section is empty.

Types

type Error

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

func NewError

func NewError(err error) *Error

func (*Error) Error

func (e *Error) Error() string

type ValidateError

type ValidateError struct {
	Message string                 `json:"message"`
	Fields  map[string]interface{} `json:"fields"`
	// contains filtered or unexported fields
}

func NewValidateError

func NewValidateError(err error) *ValidateError

func (*ValidateError) Error

func (e *ValidateError) Error() string

Jump to

Keyboard shortcuts

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