CMS-1403 Better exception messages when saving a schema with errors