exit

package
v0.16.0-m3 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OnError

func OnError(err error)

OnError exits in case of error.

func OnErrorWithMessage

func OnErrorWithMessage(err error, message string)

OnErrorWithMessage will print the message and quit the program with an error code.

func WithMessage

func WithMessage(message string)

WithMessage will print the message and quit the program with an error code.

Types

This section is empty.

Jump to

Keyboard shortcuts

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