exit

package
v0.0.0-...-4282750 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const StatusAborted = 130

StatusAborted is the exit code for aborted commands.

View Source
const StatusTimeout = 124

StatusTimeout is the exit code for timed out commands.

Variables

View Source
var ErrAborted = huh.ErrUserAborted

ErrAborted is the error to return when a gum command is aborted by Ctrl+C.

Functions

func Handle

func Handle(err error, d time.Duration) error

Handle handles the error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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