# BetterErrors/better_errors

Better error page for Rack apps

Repository: https://github.com/BetterErrors/better_errors
Canonical: https://ross.abutalabs.com/products/better_errors
Language: Ruby
License: MIT
License Family: permissive
Last push: 2024-07-09T08:00:44+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 5016, "days_push": 785, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 6862, forks 431 (observed 2026-08-28T04:09:50.976126+00:00)

## What it is
Better Errors is a Ruby gem that replaces the standard Rails error page with a richer, more useful one, and works as Rack middleware in any Rack app. It provides full stack traces, source code inspection, variable inspection, a live REPL on each stack frame, and editor links.

## Use cases
- debug rails exceptions with a better error page
- inspect local variables in stack frames during development
- get a live REPL on error stack frames in a rack app
- open the failing source line directly in my editor
- see useful error info for non-html requests

## When to choose
- you develop Rails or Rack apps in Ruby and want far better exception pages
- you want REPL and variable inspection at each frame of a stack trace
- you want editor deep links from error pages

## When to avoid
- in production environments, since it exposes source code and a REPL
- for non-Ruby or non-Rack web frameworks
- you only need logging rather than interactive error pages

## Facets
- artifact type: library
- maturity: maintenance
- function: middleware, error-handling, developer-tools, web-framework
- domain: web-development, developer-tools, backend
- platform: ruby
- tags: rack-middleware, error-page, repl, debugging, rails, development-tools, web-server

## Member repositories
- BetterErrors/better_errors (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:50.976126+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:41:42.720716+00:00, confidence not recorded.
  - readme: https://github.com/BetterErrors/better_errors (fetched 2026-08-28T04:09:50.976126+00:00, sha ace1fc39c3d5)
- Data as of 2026-08-30T08:39:29.467469+00:00.
