def _subscription_games_import_failure(self, subscription_name: str, error: ApplicationError) -> None: self._connection.send_notification( "subscription_games_import_failure", { "subscription_name": subscription_name, "error": error.json() })
def _user_presence_import_failure(self, user_id: str, error: ApplicationError) -> None: self._connection.send_notification( "user_presence_import_failure", { "user_id": user_id, "error": error.json() } )
def _os_compatibility_import_failure(self, game_id: str, error: ApplicationError) -> None: self._connection.send_notification( "os_compatibility_import_failure", { "game_id": game_id, "error": error.json() } )
def _local_size_import_failure(self, game_id: str, error: ApplicationError) -> None: self._connection.send_notification( "local_size_import_failure", { "game_id": game_id, "error": error.json() } )
def _user_presence_import_failure(self, user_id: str, error: ApplicationError) -> None: self._notification_client.notify( "user_presence_import_failure", { "user_id": user_id, "error": error.json() } )
def _game_library_settings_import_failure(self, game_id: str, error: ApplicationError) -> None: params = {"game_id": game_id, "error": error.json()} self._connection.send_notification( "game_library_settings_import_failure", params)
def _game_time_import_failure(self, game_id: str, error: ApplicationError) -> None: params = { "game_id": game_id, "error": error.json() } self._notification_client.notify("game_time_import_failure", params)