github.com/wasilibs/wazerox@v0.0.0-20240124024944-4923be63ab5f/internal/wasm/binary/errors.go (about) 1 package binary 2 3 import "errors" 4 5 var ( 6 ErrInvalidByte = errors.New("invalid byte") 7 ErrInvalidMagicNumber = errors.New("invalid magic number") 8 ErrInvalidVersion = errors.New("invalid version header") 9 ErrInvalidSectionID = errors.New("invalid section id") 10 ErrCustomSectionNotFound = errors.New("custom section not found") 11 )