anyreader/errors.go

12 lines
388 B
Go
Raw Normal View History

2023-06-30 20:43:23 +02:00
package anyreader
import (
"git.milar.in/milarin/adverr"
)
var (
ErrNothingToUnread = adverr.NewErrTmpl("ErrNothingToUnread", "Unreading failed because there wasn't any Read yet")
2023-07-27 22:09:41 +02:00
ErrPopFailed = adverr.NewErrTmpl("ErrPopFailed", "stack cannot be popped. It was never pushed")
2023-06-30 20:43:23 +02:00
ErrNoMoreValues = adverr.NewErrTmpl("ErrNoMoreValues", "source does not have any more values")
)