Exception: Hanami::Assets::AssetMissingError
- Defined in:
- lib/hanami/assets/errors.rb
Overview
Error raised when no asset can be found for a source path.
Instance Method Summary collapse
-
#initialize(source_path) ⇒ AssetMissingError
constructor
A new instance of AssetMissingError.
Constructor Details
#initialize(source_path) ⇒ AssetMissingError
Returns a new instance of AssetMissingError.
31 32 33 34 35 |
# File 'lib/hanami/assets/errors.rb', line 31 def initialize(source_path) super(<<~TEXT) No asset found for #{source_path.inspect} TEXT end |