Why flatten the error message like this?