add the error message to the left of the pipe