anyreader/errors.go
2023-06-30 20:43:23 +02:00

11 lines
285 B
Go

package anyreader
import (
"git.milar.in/milarin/adverr"
)
var (
ErrNothingToUnread = adverr.NewErrTmpl("ErrNothingToUnread", "Unreading failed because there wasn't any Read yet")
ErrNoMoreValues = adverr.NewErrTmpl("ErrNoMoreValues", "source does not have any more values")
)