Method: Hanami::Config#render_errors

Defined in:
lib/hanami/config.rb

#render_errorsBoolean

Sets whether to catch exceptions and render error pages.

For HTML responses, these error pages are in ‘public/404,500.html`.

Defaults to ‘true` in production mode, `false` in all others.

Returns:

  • (Boolean)

Since:

  • 2.1.0


146
# File 'lib/hanami/config.rb', line 146

setting :render_errors, default: false