def _set_nexus_type_failure(self):
config = {'<STR_LIT>':<EOL>self._config_restapi_side_effects(<EOL>snipp.PATH_GET_NEXUS_TYPE,<EOL>exceptions.NexusConnectFailed,<EOL>'<STR_LIT>')}<EOL>self.mock_driver.configure_mock(**config)<EOL>
Sets exception during get nexus type.