• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

rm-hull / chakra-error-fallback / 21457217228
92%

Build:
DEFAULT BRANCH: main
Ran 28 Jan 2026 10:05PM UTC
Jobs 1
Files 7
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

28 Jan 2026 10:04PM UTC coverage: 91.509% (-1.0%) from 92.473%
21457217228

push

github

web-flow
feat: support non-Error types in error components (#121)

* feat: support non-Error types in error components

Updates `ErrorFallback` and `Cause` components to accept `unknown`
error types. This ensures the UI handles non-standard throws, such as
strings, gracefully.

- Change `error` prop type to `unknown` across components.
- Add `instanceof Error` guards before accessing `.stack`.
- Conditionally hide the stack trace section if it is unavailable.
- Add a story for testing string-based errors.

* Bump version

* fix: reset state for invalid error inputs

Ensures that the `loading` and `stack` states are correctly reset if
the `error` provided is not an `Error` instance or lacks a stack
trace. This prevents stale data from persisting in the state when the
input changes.

33 of 38 branches covered (86.84%)

Branch coverage included in aggregate %.

6 of 7 new or added lines in 2 files covered. (85.71%)

64 of 68 relevant lines covered (94.12%)

5.75 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
80.0
-20.0% src/Cause.tsx
Jobs
ID Job ID Ran Files Coverage
1 21457217228.1 28 Jan 2026 10:05PM UTC 7
91.51
GitHub Action Run
Source Files on build 21457217228
  • Tree
  • List 7
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #21457217228
  • 2fa8dbd5 on github
  • Prev Build on main (#21436613143)
  • Next Build on main (#21470555055)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc