errors

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2023 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Internal

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

Internal indicates something went wrong during processing

func NewInternalf

func NewInternalf(format string, args ...interface{}) Internal

NewInternal with Errorf signature

func (Internal) Error

func (e Internal) Error() string

type InvalidUserInput

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

InvalidUserInput indicates a client-side error

func NewInvalidUserInputf

func NewInvalidUserInputf(format string, args ...interface{}) InvalidUserInput

NewInvalidUserInput with Errorf signature

func (InvalidUserInput) Error

func (e InvalidUserInput) Error() string

type NotFound

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

NotFound indicates the desired resource doesn't exist

func NewNotFoundf

func NewNotFoundf(format string, args ...interface{}) NotFound

NewNotFound with Errorf signature

func (NotFound) Error

func (e NotFound) Error() string

Jump to

Keyboard shortcuts

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