Moving BatchError to errors.rb
This commit is contained in:
parent
574cdbd739
commit
2666acc24a
|
@ -18,10 +18,6 @@ require 'uuidtools'
|
|||
module Google
|
||||
class APIClient
|
||||
|
||||
# Error class for problems in batch requests.
|
||||
class BatchError < StandardError
|
||||
end
|
||||
|
||||
# Helper class to contain a response to an individual batched call.
|
||||
class BatchedCallResponse
|
||||
attr_reader :call_id
|
||||
|
|
|
@ -41,5 +41,9 @@ module Google
|
|||
# An exception that is raised if an ID token could not be validated.
|
||||
class InvalidIDTokenError < StandardError
|
||||
end
|
||||
|
||||
# Error class for problems in batch requests.
|
||||
class BatchError < StandardError
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue