github.com/tetratelabs/wazero@v1.7.3-0.20240513003603-48f702e154b5/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 )