Edit error messages to enhance readability