Exception: Hanami::Assets::MissingManifestAssetError Private
- Defined in:
- lib/hanami/assets/config/manifest.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.
This error is raised when an asset is referenced from the DOM, but it’s not present in the manifest
Instance Method Summary collapse
-
#initialize(asset, manifest_path) ⇒ MissingManifestAssetError
constructor
private
A new instance of MissingManifestAssetError.
Constructor Details
#initialize(asset, manifest_path) ⇒ MissingManifestAssetError
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 MissingManifestAssetError.
20 21 22 |
# File 'lib/hanami/assets/config/manifest.rb', line 20 def initialize(asset, manifest_path) super("Can't find asset `#{asset}' in manifest (#{manifest_path})") end |