fetch_error_codes: Reasons a domain can fail to get a category

View source: R/outcomes.R

fetch_error_codesR Documentation

Reasons a domain can fail to get a category

Description

The closed set of 'error_code' values that [collect_content()] and [pie_cat()] can return, with the pipeline stage each belongs to and whether it is worth retrying.

Usage

fetch_error_codes()

Details

These strings are shared verbatim with the Python package 'piedomains', so results from the two can be aggregated together.

Value

A tibble with columns 'code', 'stage', 'retryable' and 'description'.

See Also

[fetch_report()] to summarise an actual run, [source_vintage()] for the provenance of the static label sources.

Examples

fetch_error_codes()

# which failures are worth trying again?
subset(fetch_error_codes(), retryable)

rdomains documentation built on Aug. 2, 2026, 9:07 a.m.