Exception: Hanami::Assets::Compressors::UnknownCompressorError Private

Inherits:
Error
  • Object
show all
Defined in:
lib/hanami/assets/compressors/abstract.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.

Unknown compressor error

It’s raised when trying to load an unknown compressor.

Instance Method Summary collapse

Constructor Details

#initialize(type, engine_name) ⇒ UnknownCompressorError

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 UnknownCompressorError.

Since:

  • 0.1.0



20
21
22
# File 'lib/hanami/assets/compressors/abstract.rb', line 20

def initialize(type, engine_name)
  super("Unknown #{ type } compressor: :#{ engine_name }")
end