Pyro4.errors — Exception classes

The exception hierarchy is as follows:

Exception
  |
  +-- PyroError
        |
        +-- NamingError
        +-- DaemonError
        +-- SecurityError
        +-- CommunicationError
              |
              +-- ConnectionClosedError
              +-- ProtocolError
              +-- TimeoutError

Definition of the various exceptions that are used in Pyro.

exception Pyro4.errors.CommunicationError

Base class for the errors related to network communication problems.

exception Pyro4.errors.ConnectionClosedError

The connection was unexpectedly closed.

exception Pyro4.errors.DaemonError

The Daemon encountered a problem.

exception Pyro4.errors.NamingError

There was a problem related to the name server or object names.

exception Pyro4.errors.ProtocolError

Pyro received a message that didn’t match the active Pyro network protocol, or there was a protocol related error.

exception Pyro4.errors.PyroError

Generic base of all Pyro-specific errors.

exception Pyro4.errors.SecurityError

A security related error occurred.

exception Pyro4.errors.TimeoutError

A call could not be completed within the set timeout period, or the network caused a timeout.

Previous topic

Pyro4.config — Configuration items

Next topic

Pyro4.test.echoserver — Built-in echo server for testing purposes