Exemplo n.º 1
0
 /// <summary>
 /// Gets the starndard message.
 /// </summary>
 /// <param name="resultCode">The result code.</param>
 /// <returns>The standard corresponding error message based on the result code.</returns>
 private static string GetStarndardMessage(int resultCode)
 {
     return($"Hardware Exception Encountered. Error Code {resultCode}: {(ResultCode)resultCode}: " +
            $"{Constants.GetResultCodeMessage(resultCode)}");
 }