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.



3
4
5
# File 'lib/asset_cloud/bucket.rb', line 3

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