Add common uv_udp_* error checking.