go-utf8/errors.go

14 lines
277 B
Go
Raw Normal View History

2022-07-18 23:36:02 +00:00
package utf8
2018-07-02 09:16:28 +00:00
import (
"errors"
)
var (
errInternalError = errors.New("Internal Error")
2023-08-18 12:57:56 +00:00
errInvalidUTF8 = internalInvalidUTF8Error{}
errNilReader = internalNilReaderError{}
2018-07-11 03:56:30 +00:00
errNilReceiver = errors.New("Nil Receiver")
2023-08-18 12:57:56 +00:00
errNilWriter = internalNilWriterError{}
2018-07-02 09:16:28 +00:00
)