Exception: Hanami::EarlyHints::NotSupportedByServerError Private
- Defined in:
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
A new instance of 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