package
0.2501.0
Repository: https://github.com/oasisprotocol/oasis-core.git
Documentation: pkg.go.dev

# Functions

EnsurePermanent ensures an error will be correctly treated as (non-)permanent by `cenkalti/backoff/v4`.
IsPermanent returns true iff the error is a permanent p2p message handler error.
IsRelayable returns true if the error is relayable.
Permanent wraps an error returned by various handler functions to suppress retry.
Relayable wraps an error returned by various handler functions to mark the error as relayable.
ShouldRelay returns if true the message should be relayed despite the error.

# Variables

ErrUnhandledMessage indicates to the dispatcher that the handler didn't handle the message.