Exception: Qiniu::S3::MissingArgsError
- Defined in:
- lib/qiniu/s3/exceptions.rb
Direct Known Subclasses
MissingAccessToken, MissingRefreshToken, MissingUsernameOrPassword
Instance Method Summary collapse
-
#initialize(missing_keys) ⇒ MissingArgsError
constructor
A new instance of MissingArgsError.
Methods inherited from Exception
Constructor Details
#initialize(missing_keys) ⇒ MissingArgsError
Returns a new instance of MissingArgsError.
44 45 46 47 |
# File 'lib/qiniu/s3/exceptions.rb', line 44 def initialize(missing_keys) key_list = missing_keys.map {|key| key.to_s}.join(' and the ') super("You did not provide both required args. Please provide the #{key_list}.") end |