Exception: Hanami::EarlyHints::NotSupportedByServerError Private
- Inherits:
-
StandardError
- Object
- StandardError
- Hanami::EarlyHints::NotSupportedByServerError
- Defined in:
- lib/hanami/early_hints.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
-
#initialize ⇒ NotSupportedByServerError
constructor
private
A new instance of NotSupportedByServerError.
Constructor Details
#initialize ⇒ NotSupportedByServerError
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of NotSupportedByServerError.
21 22 23 |
# File 'lib/hanami/early_hints.rb', line 21 def initialize super("Current Ruby server doesn't support Early Hints.\nPlease make sure to use a web server with Early Hints enabled (only Puma for now).") end |