MCPcopy Index your code
hub / github.com/4ian/GDevelop / displayErrorNotification

Function displayErrorNotification

Extensions/Multiplayer/multiplayercomponents.ts:463–472  ·  view source on GitHub ↗
(
      runtimeScene: gdjs.RuntimeScene
    )

Source from the content-addressed store, hash-verified

461 * Create, display, and hide an error notification.
462 */
463 export const displayErrorNotification = function (
464 runtimeScene: gdjs.RuntimeScene
465 ) {
466 showNotification({
467 runtimeScene,
468 content:
469 'An error occurred while displaying the game lobbies, please try again.',
470 type: 'error',
471 });
472 };
473
474 /**
475 * Create, display, and hide a notification when a player leaves the game.

Callers

nothing calls this directly

Calls 1

showNotificationFunction · 0.70

Tested by

no test coverage detected