Push the return value of the function to the stream, or make it emit the thrown error