Skip to content
Myr

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 file

Take it

The walk stopped after 200 commits: lines older than 6837ed2 point at it.

fix: lint issues (#909)Carlos Alexandro Beckerbefore adoption817c4bd

line 1why, one step back
1// Package exit code implementation.

feat(deps): bump github.com/charmbracelet/bubbletea from 0.27.0 to 1.0.0 (#661)dependabot[bot]before adoption6837ed2

lines 2–3why, one step back
2package exit
3

fix: lint issues (#909)Carlos Alexandro Beckerbefore adoption817c4bd

line 4why, one step back
4import "strconv"

fix(confirm,choose,file,input): timeout handling (#718)Carlos Alexandro Beckerbefore adoptionc868aa1

lines 5–8why, one step back
5
6// StatusTimeout is the exit code for timed out commands.7const StatusTimeout = 1248

feat(deps): bump github.com/charmbracelet/bubbletea from 0.27.0 to 1.0.0 (#661)dependabot[bot]before adoption6837ed2

lines 9–10why, one step back
9// StatusAborted is the exit code for aborted commands.
10const StatusAborted = 130

refactor: removing huh as a dep (#742)Carlos Alexandro Beckerbefore adoptione30fc5e

lines 11–16why, one step back
11
12// ErrExit is a custom exit error.13type ErrExit int1415// Error implements error.16func (e ErrExit) Error() string { return "exit " + strconv.Itoa(int(e)) }