Class: Waitress::ErrorHandler

Inherits:
Handler
  • Object
show all
Defined in:
lib/waitress/handlers/handler.rb

Overview

The ErrorHandler has the lowest priority, as it shouldn’t be triggered unless there is an error (i.e. 404, 500)

Direct Known Subclasses

Handler404

Instance Attribute Summary

Attributes inherited from Handler

#priority

Instance Method Summary collapse

Methods inherited from Handler

#respond?, #serve, #serve!

Constructor Details

#initializeErrorHandler

Returns a new instance of ErrorHandler.



53
54
55
# File 'lib/waitress/handlers/handler.rb', line 53

def initialize
  @priority = -65536
end