gum/internal/exit/exit.go

10 lines
230 B
Go
Raw Normal View History

2022-07-31 03:21:00 +02:00
package exit
2022-07-31 03:41:18 +02:00
import "fmt"
// StatusAborted is the exit code for aborted commands.
const StatusAborted = 130
// ErrAborted is the error to return when a gum command is aborted by Ctrl + C.
var ErrAborted = fmt.Errorf("aborted")