Emit the reason for an error as well