summaryrefslogtreecommitdiff
path: root/internal/commands/errors.go
blob: 5a6353fa7f217f682bd7fcdb8dfa026dd97de019 (plain)
1
2
3
4
5
6
7
8
9
10
11
package commands

import (
	"errors"
)

// ErrStdinIsNotTerminal is returned when Stdin is not an interactive terminal.
var ErrStdinIsNotTerminal = errors.New("stdin is not a terminal")

// ErrConfirmationMismatch is returned when user input does not match the confirmation prompt.
var ErrConfirmationMismatch = errors.New("user input didn't match the confirmation prompt")