errutils

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Efatal

func Efatal(err error)

Efatal will log an error and exit if err is not nil.

func Efatalf

func Efatalf(format string, v ...interface{})

Efatalf will log an error and exit if any argument passed to fatal is an error

func Elogf

func Elogf(format string, v ...interface{}) bool

Elogf will log an error if any argument passed to format is an error

func Epanic

func Epanic(err error)

Epanic will log an error and panic if err is not nil.

func Epanicf

func Epanicf(format string, v ...interface{})

Epanicf will log an error and panic if any argument passed to format is an error

Types

This section is empty.

Jump to

Keyboard shortcuts

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