fatal

package
v1.122.1 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: MPL-2.0 Imports: 3 Imported by: 17

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IfErr

func IfErr(err error)

IfErr checks the error and if it isn't nil, calls fatal.WithErr(err).

func WithErr added in v1.97.0

func WithErr(err error)

WithErr logs the error and then exits with 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