How can I find a list of error codes for sql server, socket exceptions, web exceptions or any exception.
For sql server I am not able to find all the error codes in sysmessages like for instance errorcode 53, 17 so where do we find such codes?
For example System.Net.Sockets.SocketError sockererror is an enum which contains most of the socket errors, is there anything similar to this for sqlclient so tht we can capture sql server errors?