anyreader/errors.go
2023-07-27 22:09:41 +02:00

12 lines
388 B
Go

package anyreader
import (
"git.milar.in/milarin/adverr"
)
var (
ErrNothingToUnread = adverr.NewErrTmpl("ErrNothingToUnread", "Unreading failed because there wasn't any Read yet")
ErrPopFailed = adverr.NewErrTmpl("ErrPopFailed", "stack cannot be popped. It was never pushed")
ErrNoMoreValues = adverr.NewErrTmpl("ErrNoMoreValues", "source does not have any more values")
)