Initial release.
This commit is contained in:
brent saner
2024-07-09 23:40:20 -04:00
parent 7ce62f8107
commit d4bb259b83
27 changed files with 4673 additions and 12 deletions

14
errs.go Normal file
View File

@@ -0,0 +1,14 @@
package wireproto
import (
"errors"
)
var (
ErrBadCksum error = errors.New("checksums do not match")
ErrBadHdr error = errors.New("a header mismatch occurred")
ErrBadNumRecords error = errors.New("the number of child objects does not match the count")
ErrCustomUnmarshal error = errors.New("an error occurred during custom unmarshaling")
ErrInvalidNums error = errors.New("invalid number of results")
ErrNotEnoughFields error = errors.New("not enough fields/parameters in request")
)