LPS-42184 Improve feedback for localized errors

cc/ @natecavanaugh