-
Notifications
You must be signed in to change notification settings - Fork 0
/
errors.go
19 lines (17 loc) · 933 Bytes
/
errors.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package symbol
import "errors"
var (
ErrChecksumMismatch = errors.New("checksum mismatch")
ErrSymbolTableNotFound = errors.New("no symbol table found")
ErrInvalidSymbolTableHeader = errors.New("invalid symbol table header")
ErrEndOfSymbolTableNotFound = errors.New("end of symbol table not found")
ErrAddressTableOffsetNotFound = errors.New("address table offset not found")
ErrInvalidLength = errors.New("file has incorrect length")
ErrToLarge = errors.New("file is too large")
ErrMagicBytesNotFound = errors.New("magic bytes not found")
ErrOffsetOutOfRange = errors.New("offset out of range")
ErrDataIsEmpty = errors.New("data is empty")
ErrVersionNotFound = errors.New("version not found")
ErrAddressOutOfRange = errors.New("address out of range")
ErrInvalidFile = errors.New("invalid file")
)