SessionErrorEvent constructor

const SessionErrorEvent({
  1. required String id,
  2. required String timestamp,
  3. String? parentId,
  4. bool ephemeral = false,
  5. required String errorType,
  6. required String message,
  7. String? stack,
  8. int? statusCode,
  9. String? providerCallId,
})

Implementation

const SessionErrorEvent({
  required super.id,
  required super.timestamp,
  super.parentId,
  super.ephemeral,
  required this.errorType,
  required this.message,
  this.stack,
  this.statusCode,
  this.providerCallId,
}) : super(type: 'session.error');