import "github.com/egdaemon/eg/runtime/wasi/egunsafe/ffigraph"

func TraceErr

func TraceErr(ctx context.Context, op node, fn func(ctx context.Context) error) error

func Wrap

func Wrap(ctx context.Context, op node, fn func(ctx context.Context))

type Eventer

type Eventer interface {
    OpInfo(ts time.Time, cause error, path []string) *events.Op
}

type Traceable

type Traceable interface {
    Tracer() Eventer
}