AgentError<State> constructor

AgentError<State>({
  1. required String message,
  2. required String status,
  3. Object? details,
  4. State? state,
  5. String? snapshotId,
  6. required AgentResponse<State> response,
})

Implementation

AgentError({
  required this.message,
  required this.status,
  this.details,
  this.state,
  this.snapshotId,
  required this.response,
});