# `Pyro4.errors` — Exception classes

The exception hierarchy is as follows:

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

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.MessageTooLargeError

  Pyro received a message or was trying to send a message that exceeds the maximum message size as configured.

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.SerializeError

  Something went wrong while (de)serializing data.

exception Pyro4.errors.TimeoutError

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