ConversationError class

Represents an error entry within a conversation's lifecycle.

Used to track specific failures, including a human-readable message and a precise timestamp of when the error occurred.

Constructors

ConversationError({required String message, required DateTime timestamp})
ConversationError.fromJson(Map<String, dynamic> json)
Creates a ConversationError from a JSON map.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
message String
The descriptive message explaining the error.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timestamp DateTime
The date and time when the error was recorded.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts the error entry into a JSON-compatible map.
toString() String
A string representation of this object.
inherited

Operators

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