public boolean hasStreamError() {
        return streamError != null;
    }
Returns whether an error has prevented this InterceptedStream from
completing successfully. This will return false if the stream has
completed successfully OR if the stream simply has not yet completed.

@return
    true if an error has prevented this InterceptedStream from
    completing successfully, false otherwise.
guacamole/src/main/java/org/apache/guacamole/tunnel/InterceptedStream.java