MCPcopy
hub / github.com/PeerDB-io/peerdb / Error

Method Error

flow/e2e/test_utils.go:723–729  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

721}
722
723func (env WorkflowRun) Error(ctx context.Context) error {
724 if env.Finished(ctx) {
725 return env.Get(ctx, nil)
726 } else {
727 return nil
728 }
729}
730
731func (env WorkflowRun) Cancel(ctx context.Context) {
732 _ = env.c.CancelWorkflow(ctx, env.GetID(), "")

Calls 2

FinishedMethod · 0.95
GetMethod · 0.45