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
|
@ -16,6 +16,9 @@ class AWS < Fog::Bin
|
||||||
when :eu_storage, :s3, :storage
|
when :eu_storage, :s3, :storage
|
||||||
Fog::AWS::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}"
|
raise ArgumentError, "Unsupported #{self} service: #{key}"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue