bufr/errors.go

11 lines
284 B
Go
Raw Normal View History

2022-04-19 14:35:10 +02:00
package bufr
import (
2023-01-20 22:16:46 +01:00
"git.milar.in/milarin/adverr"
2022-04-19 14:35:10 +02:00
)
var (
ErrNothingToUnread = adverr.NewErrTmpl("ErrNothingToUnread", "Unreading failed because there wasn't any Read yet")
2023-08-07 19:51:10 +02:00
ErrPopFailed = adverr.NewErrTmpl("ErrPopFailed", "stack cannot be popped. It was never pushed")
2022-04-19 14:35:10 +02:00
)