SocketIOException class
class SocketIOException implements Exception { const SocketIOException([String this.message = "", OSError this.osError = null]); String toString() { StringBuffer sb = new StringBuffer(); sb.add("SocketIOException"); if (!message.isEmpty()) { sb.add(": $message"); if (osError != null) { sb.add(" ($osError)"); } } else if (osError != null) { sb.add(": $osError"); } return sb.toString(); } final String message; final OSError osError; }
Implements
Constructors
Properties
Methods
String toString() #
Returns a string representation of this object.
docs inherited from Object
String toString() { StringBuffer sb = new StringBuffer(); sb.add("SocketIOException"); if (!message.isEmpty()) { sb.add(": $message"); if (osError != null) { sb.add(" ($osError)"); } } else if (osError != null) { sb.add(": $osError"); } return sb.toString(); }