Exception: Hanami::Assets::Compressors::UnknownCompressorError Private
- Inherits:
-
Error
- Object
- StandardError
- Error
- Hanami::Assets::Compressors::UnknownCompressorError
- 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
-
#initialize(type, engine_name) ⇒ UnknownCompressorError
constructor
private
A new instance of UnknownCompressorError.
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.
20 21 22 |
# File 'lib/hanami/assets/compressors/abstract.rb', line 20 def initialize(type, engine_name) super("Unknown #{ type } compressor: :#{ engine_name }") end |