Go to the latest version of this document.
search in docstrings

Search bar offers the following options:

- Term presence. The below example searches for documents that must contain “foo”, might contain “bar” and must not contain “baz”: `+foo bar -baz`
- Wildcards. The below example searches for documents with words beginning with “foo”: `foo*`
- Search in specific fields. The following search matches all objects in "twisted.mail" that matches “search”: `+qname:twisted.mail.* +search`

  Possible fields: 'name', 'qname' (fully qualified name), 'docstring', and 'kind'. Last two fields are only applicable if "search in docstrings" is enabled.

- Fuzzy matches. The following search matches all documents that have a word within 1 edit distance of “foo”: `foo~1`

Results provided by Lunr.js

# ``twisted`.`internet`.`error``

module documentation
(source)

Exceptions and errors for use in twisted.internet modules.

Exception | `AlreadyCalled` | Undocumented
Exception | `AlreadyCancelled` | Undocumented
Exception | `AlreadyListened` | An attempt was made to listen on a file descriptor which can only be listened on once.
Exception | `BadFileError` | Undocumented
Exception | `BindError` | Undocumented
Exception | `CannotListenError` | This gets raised by a call to startListening, when the object cannotstart listening.
Exception | `CertificateError` | Undocumented
Exception | `ConnectBindError` | Undocumented
Exception | `ConnectError` | Undocumented
Exception | `ConnectingCancelledError` | An `Exception` that will be raised when an `IStreamClientEndpoint` is cancelled before it connects.
Exception | `ConnectInProgressError` | A connect operation was started and isn't done yet.
Exception | `ConnectionAborted` | Connection was aborted locally, using `twisted.internet.interfaces.ITCPTransport.abortConnection`.
Exception | `ConnectionClosed` | Connection was closed, whether cleanly or non-cleanly.
Exception | `ConnectionDone` | Undocumented
Exception | `ConnectionFdescWentAway` | Undocumented
Exception | `ConnectionLost` | Undocumented
Exception | `ConnectionRefusedError` | Undocumented
Exception | `DNSLookupError` | Undocumented
Exception | `FileDescriptorOverrun` | A mis-use of `IUNIXTransport.sendFileDescriptor` caused the connection to be closed.
Exception | `InvalidAddressError` | An invalid address was specified (i.e. neither IPv4 or IPv6, or expected one and got the other).
Exception | `MessageLengthError` | Undocumented
Exception | `MulticastJoinError` | An attempt to join a multicast group failed.
Exception | `NoProtocol` | An `Exception` that will be raised when the factory given to a `IStreamClientEndpoint` returns `None` from `buildProtocol`.
Exception | `NoRouteError` | Undocumented
Exception | `NotConnectingError` | Undocumented
Exception | `NotListeningError` | Undocumented
Exception | `PeerVerifyError` | Undocumented
Exception | `PotentialZombieWarning` | Emitted when `IReactorProcess.spawnProcess` is called in a way which may result in termination of the created child process not being reported.
Exception | `ProcessDone` | Undocumented
Exception | `ProcessExitedAlready` | The process has already exited and the operation requested can no longer be performed.
Exception | `ProcessTerminated` | No exception docstring; 0/3 instance variable, 0/1 class variable, 0/1 constant, 1/1 method documented
Exception | `ReactorAlreadyInstalledError` | Could not install reactor because one is already installed.
Exception | `ReactorAlreadyRunning` | Error raised when trying to start the reactor multiple times.
Exception | `ReactorNotRestartable` | Error raised when trying to run a reactor which was stopped.
Exception | `ReactorNotRunning` | Error raised when trying to stop a reactor which is not running.
Exception | `ServiceNameUnknownError` | Undocumented
Exception | `SSLError` | Undocumented
Exception | `TCPTimedOutError` | Undocumented
Exception | `TimeoutError` | Undocumented
Exception | `UnknownHostError` | Undocumented
Exception | `UnsupportedAddressFamily` | An attempt was made to use a socket with an address family (eg AF_INET, AF_INET6, etc) which is not supported by the reactor.
Exception | `UnsupportedSocketType` | An attempt was made to use a socket of a type (eg SOCK_STREAM, SOCK_DGRAM, etc) which is not supported by the reactor.
Exception | `UserError` | Undocumented
Exception | `VerifyError` | Undocumented
Function | `getConnectError` | Given a socket exception, return connection error.
Variable | `errnoMapping` | Undocumented

def getConnectError(e): (source)

Given a socket exception, return connection error.

errnoMapping = (source)

Undocumented