BetterErrors / BetterErrors/better_errors

Launch programatically without actual error

Open
#344 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
6.9k
Forks
430
PR merge metrics
No merged PRs in 30d

Description

Is there a programmatic way to launch the error page?
Say, from a different middleware?

I'm working on a [debug helper Rack middlware](https://github.com/Arachni/arachni-debug-rack) and I'd like to pass a custom exception (in order to provide my own binding) to better-errors and have the screen accessible via the usual `/__better_errors` location.

I've been digging around in the codebase but got somewhat lost so any help would be appreciated.

Cheers

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.