Files
ollama/readline/errors.go
2026-01-07 01:27:15 -08:00

19 lines
321 B
Go

package readline
import (
"errors"
)
var ErrInterrupt = errors.New("Interrupt")
// ErrExpandOutput is returned when user presses Ctrl+O to expand tool output
var ErrExpandOutput = errors.New("ExpandOutput")
type InterruptError struct {
Line []rune
}
func (*InterruptError) Error() string {
return "Interrupted"
}