Method: Puma::DSL#lowlevel_error_handler
- Defined in:
- lib/puma/dsl.rb
#lowlevel_error_handler(obj = nil, &block) ⇒ Object
Use obj or block as the low level error handler. This allows the configuration file to change the default error on the server.
1014 1015 1016 1017 1018 |
# File 'lib/puma/dsl.rb', line 1014 def lowlevel_error_handler(obj=nil, &block) obj ||= block raise "Provide either a #call'able or a block" unless obj [:lowlevel_error_handler] = obj end |