errors

package
v0.0.1-t2 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Er

func Er(msg interface{})

Er logs the error on stderr and terminates with exit code 1

func ErrChk

func ErrChk(err error)

ErrChk checks if err != nil. If so, prints the error and exists with exit code 1

Types

This section is empty.

Jump to

Keyboard shortcuts

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