YamuxStreamProtocolException constructor

YamuxStreamProtocolException(
  1. String message, {
  2. required String protocolError,
  3. required int streamId,
  4. Exception? originalException,
  5. StackTrace? originalStackTrace,
  6. Map<String, dynamic>? context,
})

Implementation

YamuxStreamProtocolException(
  String message, {
  required this.protocolError,
  required this.streamId,
  Exception? originalException,
  StackTrace? originalStackTrace,
  Map<String, dynamic>? context,
}) : super._internal(
        message,
        originalException: originalException,
        originalStackTrace: originalStackTrace,
        context: {
          'protocolError': protocolError,
          'streamId': streamId,
          ...?context,
        },
      );