pyrlang.errors¶
Exceptions of the pyrlang package.
- exception pyrlang.errors.PyrlangException¶
Bases:
ExceptionBase class of every exception Pyrlang raises.
- exception pyrlang.errors.NodeException(msg, *args, **kwargs)¶
Bases:
PyrlangExceptionThe node cannot do what was asked: it was destroyed, has no name yet, or the other node is not known.
- exception pyrlang.errors.ProcessNotFoundError(msg, *args, **kwargs)¶
Bases:
NodeExceptionThere is no process with that pid or name.
- exception pyrlang.errors.BadArgError(msg, *args, **kwargs)¶
Bases:
PyrlangExceptionAn argument has a value that cannot be used.
- exception pyrlang.errors.EPMDClientError(msg, *args, **kwargs)¶
Bases:
PyrlangExceptionEPMD answered with an error or with something that is no answer.
- exception pyrlang.errors.EPMDConnectionError(msg, *args, **kwargs)¶
Bases:
PyrlangExceptionEPMD cannot be reached, or does not answer in time.
- exception pyrlang.errors.DistributionError(msg, *args, **kwargs)¶
Bases:
PyrlangExceptionThe distribution protocol failed: a handshake that did not succeed, or malformed data from a peer.
- exception pyrlang.errors.ConnectionNotAllowedError(msg, *args, **kwargs)¶
Bases:
DistributionErrorThe peer answered the handshake with status not_allowed: it lacks a mandatory flag from us, or its allow-list excludes this node.
- exception pyrlang.errors.SimultaneousConnectError(msg, *args, **kwargs)¶
Bases:
DistributionErrorBoth nodes connected to each other at once and this node’s attempt lost (status nok, or our acceptor preferred the peer’s connection).
- exception pyrlang.errors.ProcessTimeoutError(msg, *args, **kwargs)¶
Bases:
PyrlangExceptionProcess.receivegot no matching message in time.