Updating `client.respond()` with standardized exception handling