github.com/bananabytelabs/wazero@v0.0.0-20240105073314-54b22a776da8/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  )