ExceptionEvent class

An exception recorded on a span, according to the semantic conventions for exceptions (event name exception).

Inheritance

Constructors

ExceptionEvent({required Object error, StackTrace? stack, required DateTime timestamp})

Properties

attributes → Map<String, Object?>
finalinherited
error → Object
final
hashCode → int
The hash code for this object.
no setterinherited
name → String
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stack → StackTrace?
final
timestamp → DateTime
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

messageOf(Object error) → String
The message of error, without the type name where possible.