Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

How to find Unique error exception identifier

$
0
0

Hello there,

  I've been struggling for a wile with the managing of error codes in the application i wrote.

because i cant find the "code" that is the unique key for a single exception.

I thought it was the HResult of some exception, but it inst.

What i want to ask if there is a reference code within the exception that i can take in as the unique identifier of that error like example:

    12341234124 is the code for SQL Fail update due to null key.

PS: I thought the HRESULT was that but taking the example above, i had another error with the same HRESULT

Any ideas how to accomplish this?

Many thanks!


-- Jorge_M_P


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>