errors

package
v0.0.0-...-6312dd6 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2022 License: MIT Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BadRequestError

func BadRequestError(info string, args ...string) error

func IncorrectState

func IncorrectState(info string) error

func LogError

func LogError(err error, name, msg string)

func New

func New(temp string, args ...any) error

func NotFoundError

func NotFoundError(info string, args ...string) error

func NotImplement

func NotImplement(info ...string) error

func ReturnErrorCodeIf

func ReturnErrorCodeIf(c bool, info string) error

func SuccessOrExit

func SuccessOrExit(err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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