/usr/lib/python3/dist-packages/Pyro4/errors.py is in python3-pyro4 4.23-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | """
Definition of the various exceptions that are used in Pyro.
Pyro - Python Remote Objects. Copyright by Irmen de Jong (irmen@razorvine.net).
"""
class PyroError(Exception):
"""Generic base of all Pyro-specific errors."""
pass
class CommunicationError(PyroError):
"""Base class for the errors related to network communication problems."""
pass
class ConnectionClosedError(CommunicationError):
"""The connection was unexpectedly closed."""
pass
class TimeoutError(CommunicationError):
"""
A call could not be completed within the set timeout period,
or the network caused a timeout.
"""
pass
class ProtocolError(CommunicationError):
"""Pyro received a message that didn't match the active Pyro network protocol, or there was a protocol related error."""
pass
class NamingError(PyroError):
"""There was a problem related to the name server or object names."""
pass
class DaemonError(PyroError):
"""The Daemon encountered a problem."""
pass
class SecurityError(PyroError):
"""A security related error occurred."""
pass
|