gum/internal/exit/exit.go
2022-07-30 21:42:48 -04:00

10 lines
230 B
Go

package exit
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")