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