Class: Google::Cloud::Trace::AsyncPatchTracesError
- Inherits:
-
Error
- Object
- Error
- Google::Cloud::Trace::AsyncPatchTracesError
- Defined in:
- lib/google/cloud/trace/errors.rb
Overview
AsyncPatchTracesError
Used to indicate a problem when patching traces to the API. This can occur when the API returns an error.
Instance Attribute Summary collapse
-
#count ⇒ Array<Google::Cloud::Trace::TraceRecord>
readonly
objects that were not written to the API due to the error.
-
#traces ⇒ Object
readonly
Returns the value of attribute traces.
Instance Method Summary collapse
-
#initialize(message, traces = nil) ⇒ AsyncPatchTracesError
constructor
A new instance of AsyncPatchTracesError.
Constructor Details
#initialize(message, traces = nil) ⇒ AsyncPatchTracesError
Returns a new instance of AsyncPatchTracesError.
52 53 54 55 |
# File 'lib/google/cloud/trace/errors.rb', line 52 def initialize , traces = nil super @traces = traces if traces end |
Instance Attribute Details
#count ⇒ Array<Google::Cloud::Trace::TraceRecord> (readonly)
objects that were not written to the API due to the error.
50 |
# File 'lib/google/cloud/trace/errors.rb', line 50 attr_reader :traces |
#traces ⇒ Object (readonly)
Returns the value of attribute traces.
50 51 52 |
# File 'lib/google/cloud/trace/errors.rb', line 50 def traces @traces end |