1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

Added a @todo regarding the use of ArgumentError

This commit is contained in:
Scott Gonyea 2010-12-10 10:44:22 +08:00 committed by Wesley Beary
parent c0608d2ca1
commit aef0c0215f

View file

@ -15,7 +15,10 @@ class AWS < Fog::Bin
Fog::AWS::SimpleDB
when :eu_storage, :s3, :storage
Fog::AWS::Storage
else
else
# @todo Replace most instances of ArgumentError with NotImplementedError
# @todo For a list of widely supported Exceptions, see:
# => http://www.zenspider.com/Languages/Ruby/QuickRef.html#35
raise ArgumentError, "Unsupported #{self} service: #{key}"
end
end