ExceptionTelemetryItem class
Represents an exception telemetry item in Application Insights.
- Implemented types
- Annotations
-
- @immutable
Constructors
-
ExceptionTelemetryItem({required Severity severity, required Object error, StackTrace? stackTrace, String? problemId, Map<
String, Object> additionalProperties = const <String, Object>{}, DateTime? timestamp}) -
Creates an instance of ExceptionTelemetryItem with the specified
severity
anderror
.
Properties
-
additionalProperties
→ Map<
String, Object> -
Any additional properties to submit with the telemetry.
final
- envelopeName → String
-
The Application Insights envelope name used when transmitting telemetry of this type.
no setteroverride
- error → Object
-
The underlying error.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- problemId → String?
-
An identifier to associate multiple instances of this error which, if
null
, will cause a problem ID to be generated based on the error and stackTrace (if any) provided.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- severity → Severity
-
The severity of the exception.
final
- stackTrace → StackTrace?
-
The StackTrace captured when the error occurred, if any.
final
- timestamp → DateTime
-
When the telemetry was created.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
serialize(
{required TelemetryContext context}) → Map< String, dynamic> -
Gets a serialized representation of this telemetry.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited