allow_failure

command
v0.1.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 11, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package main demonstrates AllowFailure in dureq workflows — when a task with AllowFailure=true fails, the workflow continues instead of failing.

Scenario: A data pipeline where one optional enrichment step may fail, but the rest of the pipeline should proceed.

fetch → enrich(AllowFailure=true) ─┐
      → transform                  ─┼─ aggregate
                                    ┘

Even if enrich fails, transform + aggregate still complete.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL