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:
parent
c0608d2ca1
commit
aef0c0215f
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue