Flush the stream and return the value of error flag
checkError(); return value: boolean true/false
no example jet
output for example