Options
All
  • Public
  • Public/Protected
  • All
Menu

Executed when the socket closes due to an unexpected error. An example use case is displaying a message notifying the user that the server is currently unreachable.

Hierarchy

  • OnSocketError

Callable

  • OnSocketError(error: Event): void
  • Executed when the socket closes due to an unexpected error. An example use case is displaying a message notifying the user that the server is currently unreachable.

    Parameters

    • error: Event

    Returns void

Generated using TypeDoc