Files
ollama/editor/errors.go
2023-11-14 15:59:35 -08:00

18 lines
196 B
Go

package editor
import (
"errors"
)
var (
ErrInterrupt = errors.New("Interrupt")
)
type InterruptError struct {
Line []rune
}
func (*InterruptError) Error() string {
return "Interrupted"
}