diff --git a/lib/google/api_client/batch.rb b/lib/google/api_client/batch.rb index 5d18c830c..72e8e637a 100644 --- a/lib/google/api_client/batch.rb +++ b/lib/google/api_client/batch.rb @@ -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 diff --git a/lib/google/api_client/errors.rb b/lib/google/api_client/errors.rb index 387524e8b..c85eeec7c 100644 --- a/lib/google/api_client/errors.rb +++ b/lib/google/api_client/errors.rb @@ -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