Exceptions

exception discord.ext.ipc.errors.IPCError(name, details)

Bases: Exception

Base class for all exceptions raised by this library.

Parameters:
  • name (str)

  • details (str)

Return type:

None

exception discord.ext.ipc.errors.NoEndpointFound(name, details)

Bases: IPCError

Raised when requesting an endpoint that does not exist.

Parameters:
  • name (str)

  • details (str)

Return type:

None

exception discord.ext.ipc.errors.MulticastFailure(name, details)

Bases: IPCError

Raised when calling a route that is not available for multicast connections.

Parameters:
  • name (str)

  • details (str)

Return type:

None

exception discord.ext.ipc.errors.InvalidReturn(name, details)

Bases: IPCError

Raised when a route returns an object that cannot be serialised.

Parameters:
  • name (str)

  • details (str)

Return type:

None

exception discord.ext.ipc.errors.ServerAlreadyStarted(name, details)

Bases: IPCError

Raised when starting a server that is already running.

Parameters:
  • name (str)

  • details (str)

Return type:

None

exception discord.ext.ipc.errors.ServerTimeout(details, timeout)

Bases: IPCError

Raised when a server response exceeds the configured timeout.

Parameters:
  • details (str)

  • timeout (int | None)

Return type:

None