Exception: Hanami::Assets::AssetMissingError

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

Overview

Error raised when a requested asset cannot be found

Since:

  • 0.1.0

Instance Method Summary collapse

Constructor Details

#initialize(path) ⇒ AssetMissingError

Returns a new instance of AssetMissingError.

Since:

  • 0.1.0



15
16
17
# File 'lib/hanami/sprockets/errors.rb', line 15

def initialize(path)
  super("Missing asset: #{path}")
end