mirror of
https://github.com/wahyd4/ruby-sdk.git
synced 2026-08-09 04:46:10 +10:00
added UploadFailedError
This commit is contained in:
@@ -40,6 +40,16 @@ module Qiniu
|
||||
end
|
||||
end
|
||||
|
||||
class UploadFailedError < ResponseError
|
||||
def message
|
||||
"Uploading Failed. HTTP Status Code #{http_code}"
|
||||
end
|
||||
|
||||
def to_s
|
||||
message
|
||||
end
|
||||
end
|
||||
|
||||
class MissingArgsError < Exception
|
||||
def initialize(missing_keys)
|
||||
key_list = missing_keys.map {|key| key.to_s}.join(' and the ')
|
||||
|
||||
@@ -2,6 +2,6 @@
|
||||
|
||||
module Qiniu
|
||||
module RS
|
||||
VERSION = "3.0.6"
|
||||
VERSION = "3.0.7"
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user