At the network layer datagram header is added by IP and error checking is its responsibility. It doesn't check for payload . Ip header includes source and destination ip which should be correct.
While the tcp which is a reliable protocol adds extra mechanisms which ip does not.