herror

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsSilent

func IsSilent(e Interface) bool

Types

type Interface

type Interface interface {
	error
	Herror(debug bool) string
}

func Internal

func Internal(err error, message string) Interface

func Silent

func Silent() Interface

func Unlikely

func Unlikely(err error, short string, long string) Interface

func User

func User(err error, message string) Interface

func UserF

func UserF(err error, message string, a ...interface{}) Interface

Jump to

Keyboard shortcuts

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