go-eol/errors.go

14 lines
239 B
Go
Raw Permalink Normal View History

2023-11-27 14:47:38 +00:00
package eol
import (
"sourcecode.social/reiver/go-erorr"
)
const (
errNilRuneScanner = erorr.Error("eol: nil rune-scanner")
)
func errNotEOL(r rune) error {
return erorr.Errorf("eol: %q (%U) is not an end-of-line character", r, r)
}