github.com/taubyte/vm-wasm-utils@v1.0.2/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  )