Skip to content

port70.exceptions

Exception hierarchy for the port70 Gopher client library.

ConnectionError

Bases: Port70Error

Exception raised when a network connection to a Gopher server fails.

Port70Error

Bases: Exception

Base exception class for all port70 errors.

ProtocolError

Bases: Port70Error

Exception raised when a Gopher protocol error occurs.

ResponseError

Bases: Port70Error

Exception raised when processing a Gopher response fails.

TimeoutError

Bases: Port70Error

Exception raised when a network operation times out.

URIError

Bases: Port70Error

Exception raised when a Gopher URI is invalid or parsing fails.