github.com/reiver/go-fck - sourcecode.social/reiver/go-erorr
parent
cf7c9418bc
commit
9755254f91
14
errors.go
14
errors.go
|
@ -1,14 +1,14 @@
|
|||
package strfs
|
||||
|
||||
import (
|
||||
"github.com/reiver/go-fck"
|
||||
"sourcecode.social/reiver/go-erorr"
|
||||
)
|
||||
|
||||
const (
|
||||
errClosed = fck.Error("closed")
|
||||
errEmptyContent = fck.Error("empty content")
|
||||
errInternalError = fck.Error("internal error")
|
||||
errNilByteSlice = fck.Error("nil byte slice")
|
||||
errNilReader = fck.Error("nil reader")
|
||||
errNilReceiver = fck.Error("nil receiver")
|
||||
errClosed = erorr.Error("closed")
|
||||
errEmptyContent = erorr.Error("empty content")
|
||||
errInternalError = erorr.Error("internal error")
|
||||
errNilByteSlice = erorr.Error("nil byte slice")
|
||||
errNilReader = erorr.Error("nil reader")
|
||||
errNilReceiver = erorr.Error("nil receiver")
|
||||
)
|
||||
|
|
2
go.mod
2
go.mod
|
@ -2,4 +2,4 @@ module github.com/reiver/go-strfs
|
|||
|
||||
go 1.18
|
||||
|
||||
require github.com/reiver/go-fck v0.0.1
|
||||
require sourcecode.social/reiver/go-erorr v0.0.0-20230922202459-231149d185a1 // indirect
|
||||
|
|
4
go.sum
4
go.sum
|
@ -1,2 +1,2 @@
|
|||
github.com/reiver/go-fck v0.0.1 h1:GhOiIp/4Au3iPUVC1YRfJJS5CdvLDNF9qt/n1lwgWnM=
|
||||
github.com/reiver/go-fck v0.0.1/go.mod h1:i77J0nD9GkSF0osPcURZbv9u19F0keF/mrhkgIu9wvM=
|
||||
sourcecode.social/reiver/go-erorr v0.0.0-20230922202459-231149d185a1 h1:wpnz4JicQBLWrgGphYBls7DysIFCcnWgDz/vce/sY8E=
|
||||
sourcecode.social/reiver/go-erorr v0.0.0-20230922202459-231149d185a1/go.mod h1:NFtd7fzEf0r6A6R7JXYZfayRhPaJy0zt/18VWoLzrxA=
|
||||
|
|
Loading…
Reference in New Issue