Exception: Hanami::EarlyHints::NotSupportedByServerError Private

Inherits:
StandardError
  • Object
show all
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.

Since:

  • 1.2.0

Instance Method Summary collapse

Constructor Details

#initializeNotSupportedByServerError

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.

Since:

  • 1.2.0



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