Moving BatchError to errors.rb

This commit is contained in:
Sergio Gomes 2012-05-18 10:45:54 +01:00
parent 574cdbd739
commit 2666acc24a
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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