Exception: Lotus::Assets::MissingDigestAssetError Private

Inherits:
Error
  • Object
show all
Defined in:
lib/lotus/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 digest manifest

Since:

  • 0.1.0

API:

  • private

Instance Method Summary collapse

Constructor Details

#initialize(asset, manifest_path) ⇒ MissingDigestAssetError

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

Since:

  • 0.1.0

API:

  • private



20
21
22
# File 'lib/lotus/assets/config/manifest.rb', line 20

def initialize(asset, manifest_path)
  super("Can't find asset `#{ asset }' in manifest (#{ manifest_path })")
end