Exception: Hanami::Assets::MissingManifestAssetError Private

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

Since:

  • 0.1.0

Instance Method Summary collapse

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.

Since:

  • 0.1.0


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