SerializedException constructor

SerializedException({
  1. required String userMessage,
  2. required String devMessage,
  3. Object? cause,
  4. StackTrace? stack,
  5. Map<String, dynamic> metadata = const {},
  6. Severity severity = Severity.error,
  7. bool isReportable = true,
})

Creates a serializable wrapper around exception details.

Implementation

SerializedException({
  required super.userMessage,
  required super.devMessage,
  super.cause,
  super.stack,
  super.metadata = const {},
  super.severity = Severity.error,
  super.isReportable = true,
});