Dart API Referencedart:ioStreamException

StreamException class

class StreamException implements Exception {
  const StreamException([String this.message = ""]);
  const StreamException.streamClosed() : message = "Stream closed";
  String toString() => "StreamException: $message";
  final String message;
}

Implements

Exception

Constructors

const StreamException([String message = ""]) #

const StreamException([String this.message = ""]);

const StreamException.streamClosed() #

const StreamException.streamClosed() : message = "Stream closed";

Properties

final String message #

final String message;

Methods

String toString() #

Returns a string representation of this object.

docs inherited from Object
String toString() => "StreamException: $message";