Class | Rack::ShowExceptions
In: | lib/rack/showexceptions.rb
Parent: | Object

Rack::ShowExceptions catches all exceptions raised from the app it wraps. It shows a useful backtrace with the sourcefile and clickable context, the whole Rack environment and the request data.

Be careful when you use this on public-facing sites as it could reveal information helpful to attackers.

### Methods

call dump_exception new prefers_plaintext? pretty

### Constants

CONTEXT | = | 7

### Public Class methods

new(app)

### Public Instance methods

call(env)
dump_exception(exception)
prefers_plaintext?(env)
pretty(env, exception)

[Validate]