If device returns an undefined error code, then the whole stack throws an exception.
System.InvalidOperationException: Sequence contains no elements
at System.Linq.ThrowHelper.ThrowNoElementsException()
at System.Linq.Enumerable.First[TSource](IEnumerable`1 source)
at Common.EnumHelper.GetMemberDescription(Enum enumeration)
at SAE.J2534.ResultCodeExtensions.GetDescription(ResultCode code)
at SAE.J2534.J2534Exception..ctor(ResultCode Result, String Message)
at SAE.J2534.API.CheckResult(ResultCode Result)
at SAE.J2534.API.GetDevice(String DeviceName)
If device returns an undefined error code, then the whole stack throws an exception.