package
0.36.0
Repository: https://github.com/gate-computer/wag.git
Documentation: pkg.go.dev

# Packages

Package errordata helps with error serialization.

# Functions

AsModuleError returns the error if it is a module error (ModuleError method returns true).
AsPublicError returns the error if it is public (PublicError method returns non-empty string).
AsResourceLimit returns the error if it is a resource limit error (ResourceLimit method returns true).

# Interfaces

ModuleError indicates that the error is caused by unsupported or malformed WebAssembly module.
PublicError provides a message which can be used in communications.
ResourceLimit was reached.