Exception: Sprockets::Rails::Helper::AssetNotPresentError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/sprockets_better_errors/sprockets_rails_helper.rb

Instance Method Summary collapse

Constructor Details

#initialize(source) ⇒ AssetNotPresentError

Returns a new instance of AssetNotPresentError.



33
34
35
36
37
# File 'lib/sprockets_better_errors/sprockets_rails_helper.rb', line 33

def initialize(source)
  msg = "Asset not present: " <<
        "could not find '#{source}' in any asset directory"
  super(msg)
end