{"adoption": {"forks": 80, "observed_at": "2026-08-28T04:04:34.517403+00:00", "stars": 1383}, "canonical_url": "https://ross.abutalabs.com/products/juju-errors", "card": {"archived": false, "artifact_type": "library", "description": "Common juju errors and functions to annotate errors.  Based on juju/errgo", "domain": ["developer-tools", "backend"], "enriched": true, "function": ["error-handling"], "health_score": 20, "homepage": null, "language": "Go", "license": "NOASSERTION", "license_family": "other", "maturity": "maintenance", "member_repos": ["juju/errors"], "name": "juju/errors", "platform": ["go", "cross-platform"], "pushed_at": "2023-10-23T23:58:07+00:00", "repo": "juju/errors", "stars": 1383, "tags": ["error-annotation", "error-wrapping", "stack-traces", "juju"], "topics": [], "urls": [], "use_cases": ["annotate errors with file and line context in go", "wrap errors without losing the original cause", "create typed errors like not found or already exists", "print a full error stack for debugging", "replace errors.new and fmt.errorf with location-aware versions"], "what_it_is": "A Go library for annotating errors with context, file/line locations, and typed error helpers, based on juju/errgo. It preserves the original error cause while allowing layered annotations and stack inspection.", "when_to_avoid": ["you're on Go 1.13+ and only need standard error wrapping with %w and errors.Is/As", "you want a minimal dependency-free error handling approach", "you need structured or machine-readable error payloads"], "when_to_choose": ["you need rich error context and stack traces in a Go codebase", "you want typed sentinel errors with Cause-based checking", "you're working within the Juju ecosystem"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/juju-errors", "repo": "juju/errors", "role": "main", "score": 23}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:04:34.517403+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T04:40:02.534036+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "42049652d23c48111a23f44b046d257b40c6c04af991fef7b4eaebd046d5c039", "fetched_at": "2026-08-28T04:04:34.517403+00:00", "kind": "readme", "missing": false, "url": "https://github.com/juju/errors"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:04:34.517403+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T04:40:02.534036+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "42049652d23c48111a23f44b046d257b40c6c04af991fef7b4eaebd046d5c039", "fetched_at": "2026-08-28T04:04:34.517403+00:00", "kind": "readme", "missing": false, "url": "https://github.com/juju/errors"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T04:40:02.534036+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "42049652d23c48111a23f44b046d257b40c6c04af991fef7b4eaebd046d5c039", "fetched_at": "2026-08-28T04:04:34.517403+00:00", "kind": "readme", "missing": false, "url": "https://github.com/juju/errors"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:04:34.517403+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:04:34.517403+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:04:34.517403+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T04:40:02.534036+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "42049652d23c48111a23f44b046d257b40c6c04af991fef7b4eaebd046d5c039", "fetched_at": "2026-08-28T04:04:34.517403+00:00", "kind": "readme", "missing": false, "url": "https://github.com/juju/errors"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:04:34.517403+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:04:34.517403+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T04:40:02.534036+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "42049652d23c48111a23f44b046d257b40c6c04af991fef7b4eaebd046d5c039", "fetched_at": "2026-08-28T04:04:34.517403+00:00", "kind": "readme", "missing": false, "url": "https://github.com/juju/errors"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:04:34.517403+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:04:34.517403+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:04:34.517403+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T04:40:02.534036+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "42049652d23c48111a23f44b046d257b40c6c04af991fef7b4eaebd046d5c039", "fetched_at": "2026-08-28T04:04:34.517403+00:00", "kind": "readme", "missing": false, "url": "https://github.com/juju/errors"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:04:34.517403+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:04:34.517403+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T04:40:02.534036+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "42049652d23c48111a23f44b046d257b40c6c04af991fef7b4eaebd046d5c039", "fetched_at": "2026-08-28T04:04:34.517403+00:00", "kind": "readme", "missing": false, "url": "https://github.com/juju/errors"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T04:40:02.534036+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "42049652d23c48111a23f44b046d257b40c6c04af991fef7b4eaebd046d5c039", "fetched_at": "2026-08-28T04:04:34.517403+00:00", "kind": "readme", "missing": false, "url": "https://github.com/juju/errors"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T04:40:02.534036+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "42049652d23c48111a23f44b046d257b40c6c04af991fef7b4eaebd046d5c039", "fetched_at": "2026-08-28T04:04:34.517403+00:00", "kind": "readme", "missing": false, "url": "https://github.com/juju/errors"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T04:40:02.534036+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "42049652d23c48111a23f44b046d257b40c6c04af991fef7b4eaebd046d5c039", "fetched_at": "2026-08-28T04:04:34.517403+00:00", "kind": "readme", "missing": false, "url": "https://github.com/juju/errors"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_license"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4500, "days_push": 1045, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 23, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}