jerr

package
v0.0.0-...-361d07b Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: MIT Imports: 7 Imported by: 65

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HasError

func HasError(e error, s string) bool

func HasErrorPart

func HasErrorPart(e error, s string) bool

Types

type JError

type JError struct {
	Messages []string
}

func Combine

func Combine(errorArray ...error) JError

func Create

func Create(err error) JError

func Get

func Get(message string, err error) JError

func Getf

func Getf(err error, format string, a ...interface{}) JError

func New

func New(message string) JError

func Newf

func Newf(format string, a ...interface{}) JError

func (JError) Error

func (e JError) Error() string

func (JError) Fatal

func (e JError) Fatal()

func (JError) JSON

func (e JError) JSON() string

func (JError) Panic

func (e JError) Panic()

func (JError) Print

func (e JError) Print()

func (JError) PrintWithStack

func (e JError) PrintWithStack()

func (JError) Warn

func (e JError) Warn()

Jump to

Keyboard shortcuts

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