OTelExportException class
Thrown when an OTLP export request fails or is rejected by the collector.
- Implemented types
Constructors
- OTelExportException(String message, {int? statusCode})
- Creates an exception describing a failed OTLP export.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
Human-readable failure description.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- statusCode → int?
-
HTTP status code returned by the collector, when available.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited