On 3/28/2014 3:33 PM, Kapps wrote: > you'd have to parse the error message in the first place which immediately makes it > not practical and defeats the benefit of error codes. It's not necessary to parse the error message. Just do a strstr() on it, that's enough to uniquely identify all of them.