-
Notifications
You must be signed in to change notification settings - Fork 0
/
errors.go
22 lines (20 loc) · 1.14 KB
/
errors.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package goetf
import "fmt"
var (
errMalformedAtomUTF8 = fmt.Errorf("malformed ETF. EttAtomUTF8")
errMalformedSmallAtomUTF8 = fmt.Errorf("malformed ETF. EttSmallAtomUTF8")
errMalformedString = fmt.Errorf("malformed ETF. EttString")
errMalformedNewFloat = fmt.Errorf("malformed ETF. EttNewFloat")
errMalformedFloat = fmt.Errorf("malformed ETF. EttFloat")
errMalformedSmallInteger = fmt.Errorf("malformed ETF. EttSmallInteger")
errMalformedInteger = fmt.Errorf("malformed ETF. EttInteger")
errMalformedSmallBig = fmt.Errorf("malformed ETF. EttSmallBig")
errMalformedLargeBig = fmt.Errorf("malformed ETF. EttLargeBig")
errMalformedList = fmt.Errorf("malformed ETF. EttList")
errMalformedSmallTuple = fmt.Errorf("malformed ETF. EttSmallTuple")
errMalformedLargeTuple = fmt.Errorf("malformed ETF. EttLargeTuple")
errMalformedMap = fmt.Errorf("malformed ETF. EttMap")
errMalformedBinary = fmt.Errorf("malformed ETF. EttBinary")
errMalformedBitBinary = fmt.Errorf("malformed ETF. EttBitBinary")
errMalformed = fmt.Errorf("malformed ETF")
)