wag: github.com/tsavola/wag/errors Index | Files

package errors

import "github.com/tsavola/wag/errors"

Package errors exports common error types without unnecessary dependencies.

Index

Package Files

errors.go

type ModuleError Uses

type ModuleError interface {
    PublicError
    ModuleError()
}

ModuleError indicates that the error is caused by unsupported or malformed WebAssembly module.

type PublicError Uses

type PublicError interface {
    error
    PublicError() string
}

PublicError provides a message which can be used in communications. The Error() method returns a message suitable for internal logging etc.

type ResourceLimit Uses

type ResourceLimit interface {
    PublicError
    ResourceLimit()
}

ResourceLimit was reached.

Package errors is imported by 11 packages. Updated 2019-10-12. Refresh now. Tools for package owners.