go-buffers/errors.go

17 lines
309 B
Go
Raw Normal View History

2019-09-06 01:31:31 +00:00
package buffers
import (
2022-11-16 05:55:12 +00:00
"github.com/reiver/go-fck"
2019-09-06 01:31:31 +00:00
)
var (
2022-11-16 05:55:12 +00:00
BufferOverflow = fck.Error("buffer overflow")
)
var (
errNilDestination = fck.Error("nil destination")
errNilReader = fck.Error("nil reader")
errNilReceiver = fck.Error("nil receiver")
errShortWrite = fck.Error("short write")
2019-09-06 01:31:31 +00:00
)