Reference documentation and code samples for the Cloud Trace API class Google::Cloud::Trace::AsyncReporterError.
AsyncReporterError
Used to indicate a problem preventing traces from being buffered
asynchronously. This can occur when there are not enough resources
allocated for the amount of usage.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Cloud Trace API - Class Google::Cloud::Trace::AsyncReporterError (v0.45.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.45.0 (latest)](/ruby/docs/reference/google-cloud-trace/latest/Google-Cloud-Trace-AsyncReporterError)\n- [0.44.1](/ruby/docs/reference/google-cloud-trace/0.44.1/Google-Cloud-Trace-AsyncReporterError)\n- [0.43.0](/ruby/docs/reference/google-cloud-trace/0.43.0/Google-Cloud-Trace-AsyncReporterError)\n- [0.42.2](/ruby/docs/reference/google-cloud-trace/0.42.2/Google-Cloud-Trace-AsyncReporterError)\n- [0.41.4](/ruby/docs/reference/google-cloud-trace/0.41.4/Google-Cloud-Trace-AsyncReporterError) \nReference documentation and code samples for the Cloud Trace API class Google::Cloud::Trace::AsyncReporterError.\n\nAsyncReporterError\n------------------\n\nUsed to indicate a problem preventing traces from being buffered\nasynchronously. This can occur when there are not enough resources\nallocated for the amount of usage. \n\nInherits\n--------\n\n- Google::Cloud::Error\n\nMethods\n-------\n\n### #count\n\n def count() -\u003e Array\u003cGoogle::Cloud::Trace::TraceRecord\u003e\n\nobjects that were not written to the API due to the error. \n**Returns**\n\n- (Array\\\u003c[Google::Cloud::Trace::TraceRecord](./Google-Cloud-Trace-TraceRecord)\\\u003e) --- traces The trace\n\n### #initialize\n\n def initialize(message, traces = nil) -\u003e AsyncReporterError\n\n**Returns**\n\n- ([AsyncReporterError](./Google-Cloud-Trace-AsyncReporterError)) --- a new instance of AsyncReporterError\n\n### #traces\n\n def traces()\n\nReturns the value of attribute traces."]]