Clean up an error message.