go-buffers/errors.go

17 lines
328 B
Go
Raw Normal View History

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