Socket.addError not supported #60400
Labels
area-vm
Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.
library-io
triaged
Issue has been triaged by sub team
type-documentation
A request to add or improve documentation
The following minimal code example demonstrates that apparently you cannot use
Socket.addError
: It throwsUnsupported operation: Cannot send errors on sockets
. (run with dart 3.5.3 on a mac)Is this a bug, and if not, should this be documented in the documentation? (Edit: Ok, I realized that
Socket
is abstract, so maybe it makes no sense to describe implementation details in its doc...) ThereaddError
just redirects to the doc ofIOSink
, from which the method was inherited.The text was updated successfully, but these errors were encountered: