github.com/go-git/gcfg/scanner.Scanner.error (method)

7 uses

	github.com/go-git/gcfg/scanner (current package)
		scanner.go#L68: 			s.error(s.offset, "illegal character NUL")
		scanner.go#L73: 				s.error(s.offset, "illegal UTF-8 encoding")
		scanner.go#L133: func (s *Scanner) error(offs int, msg string) {
		scanner.go#L179: 		s.error(offs, "unknown escape sequence")
		scanner.go#L191: 			s.error(offs, "string not terminated")
		scanner.go#L244: 			s.error(offs, "string not terminated")
		scanner.go#L335: 			s.error(s.file.Offset(pos), fmt.Sprintf("illegal character %#U", ch))