diff --git a/lib/google/apis/errors.rb b/lib/google/apis/errors.rb index 96c5a4056..29fed01de 100644 --- a/lib/google/apis/errors.rb +++ b/lib/google/apis/errors.rb @@ -19,7 +19,7 @@ module Google attr_reader :status_code attr_reader :header attr_reader :body - + def initialize(err, status_code: nil, header: nil, body: nil) @cause = nil @@ -42,7 +42,7 @@ module Google end end end - + # An error which is raised when there is an unexpected response or other # transport error that prevents an operation from succeeding. class TransmissionError < Error