Exception: Propshaft::MissingAssetError
- Defined in:
- lib/propshaft/errors.rb
Overview
Raised when LoadPath cannot find the requested asset
Instance Method Summary collapse
-
#initialize(path) ⇒ MissingAssetError
constructor
A new instance of MissingAssetError.
- #message ⇒ Object
Constructor Details
#initialize(path) ⇒ MissingAssetError
Returns a new instance of MissingAssetError.
9 10 11 12 |
# File 'lib/propshaft/errors.rb', line 9 def initialize(path) super @path = path end |
Instance Method Details
#message ⇒ Object
14 15 16 |
# File 'lib/propshaft/errors.rb', line 14 def "The asset '#{@path}' was not found in the load path." end |