- Add consistent error handling mechanism - Wrap main entrypoint in try/except or exceptions wrapper as a handler (think about the invested time in it _vs_ benefits) and log errors - Create custom exceptions (e.g., `PeerConnectionError`, `TrackerError`)