Exception: AssetCloud::AssetNotFoundError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/asset_cloud/bucket.rb

Instance Method Summary collapse

Constructor Details

#initialize(key, version = nil) ⇒ AssetNotFoundError

Returns a new instance of AssetNotFoundError.



5
6
7
# File 'lib/asset_cloud/bucket.rb', line 5

def initialize(key, version = nil)
  super(version ? "Could not find version #{version} of asset #{key}" : "Could not find asset #{key}")
end