exit.go
This file
Path
internal/exit/exit.go
16 lines · 391 bytes · Go
Last changed by
fix: lint issues (#909)Carlos Alexandro Beckerbefore adoption817c4bd
History of this fileTake it
1// Package exit code implementation.2package exit34import "strconv"56// StatusTimeout is the exit code for timed out commands.7const StatusTimeout = 12489// StatusAborted is the exit code for aborted commands.10const StatusAborted = 1301112// ErrExit is a custom exit error.13type ErrExit int1415// Error implements error.16func (e ErrExit) Error() string { return "exit " + strconv.Itoa(int(e)) }