lib/opentelemetry/sdk/trace/export.rb in opentelemetry-sdk-1.0.0.rc2 vs lib/opentelemetry/sdk/trace/export.rb in opentelemetry-sdk-1.0.0.rc3
- old
+ new
@@ -8,9 +8,11 @@
module SDK
module Trace
# The Export module contains the built-in exporters and span processors for the OpenTelemetry
# reference implementation.
module Export
+ ExportError = Class.new(OpenTelemetry::Error)
+
# Result codes for the SpanExporter#export method and the SpanProcessor#force_flush and SpanProcessor#shutdown methods.
# The operation finished successfully.
SUCCESS = 0