Help us shape the future of Go! Take the 2026 Go Developer Survey

errs

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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