Ice.DispatchException

class Ice.DispatchException(replyStatus: int | None, msg: str = '')

Bases: LocalException

The exception that is raised when a dispatch failed. This is the base class for local exceptions that can be marshaled and transmitted “over the wire”. You can raise this exception in the implementation of an operation, or in a middleware. The Ice runtime then logically re-raises this exception to the client.

Parameters:
  • replyStatus (int | None)

  • msg (str)

property replyStatus: int

Returns the reply status as an int (see ReplyStatus).

Returns:

The reply status.

Return type:

int