Exception: Hanami::Assets::ManifestMissingError

Inherits:
Error
  • Object
show all
Defined in:
lib/hanami/assets/errors.rb

Overview

Error returned when the assets manifest file is missing.

Since:

  • 2.1.0

Instance Method Summary collapse

Constructor Details

#initialize(manifest_path) ⇒ ManifestMissingError

Returns a new instance of ManifestMissingError.

Since:

  • 2.1.0



17
18
19
20
21
22
23
# File 'lib/hanami/assets/errors.rb', line 17

def initialize(manifest_path)
  super(<<~TEXT)
    Missing manifest file at #{manifest_path.inspect}

    Have you run `hanami assets compile` or `hanami assets watch`?
  TEXT
end