forked from 4kills/go-zlib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
errors.go
23 lines (18 loc) · 914 Bytes
/
errors.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package native
import (
"errors"
)
var (
errClose = errors.New("native zlib: zlib stream could not be properly closed and freed")
errInitialize = errors.New("native zlib: zlib stream could not be properly initialized")
errProcess = errors.New("native zlib: zlib stream error during in-/deflation")
errReset = errors.New("native zlib: zlib stream could not be properly reset")
errStream = errors.New("internal state of stream inconsistent: using same stream over mulitiple threads is not advised")
errData = errors.New("data corrupted: data not in a suitable format")
errMem = errors.New("out of memory")
errBuf = errors.New("avail in or avail out zero")
errVersion = errors.New("inconsistent zlib version")
errUnknown = errors.New("error code returned by native c functions unknown")
retry = errors.New("zlib: ")
errTooLarge = errors.New("native zlib: data too large")
)