internal/command/shared/disallowedcommand/disallowedcommand.go (5 lines of code) (raw):
// Package disallowedcommand provides an error for handling disallowed commands.
package disallowedcommand
import "errors"
var (
// Error is returned when a disallowed command is encountered.
Error = errors.New("Disallowed command") //nolint:stylecheck // Used to display the error message to the user.
)