addError abstract method
- Objecterror, [
- StackTrace?stackTrace
override
Unsupported operation on sockets.
This method, which is inherited fromIOSink, is not supported onsockets, andmust not be called.Sockets have no way to report errors, so any error passed in toa socket usingaddError would be lost.
Implementation
void addError(Object error, [StackTrace? stackTrace]);