lib/google/apis/errors.rb in google-api-client-0.9.8 vs lib/google/apis/errors.rb in google-api-client-0.9.9

- old
+ new

@@ -17,11 +17,11 @@ # Base error, capable of wrapping another class Error < StandardError attr_reader :status_code attr_reader :header attr_reader :body - + def initialize(err, status_code: nil, header: nil, body: nil) @cause = nil if err.respond_to?(:backtrace) super(err.message) @@ -40,10 +40,10 @@ else super 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 end