chore: 调整部分抛出异常的描述信息

This commit is contained in:
Fu Diwei
2023-03-09 18:12:30 +08:00
parent 276652edb2
commit 1e3ed8e9fb
16 changed files with 49 additions and 49 deletions

View File

@@ -1,4 +1,4 @@
using System;
using System;
using System.Text;
namespace SKIT.FlurlHttpClient.Wechat.TenpayV2
@@ -49,7 +49,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV2
}
catch (Exception ex)
{
throw new Exceptions.WechatTenpayEventDecryptionException("Decrypt event resource failed. Please see the `InnerException` for more details.", ex);
throw new Exceptions.WechatTenpayEventDecryptionException("Failed to decrypt event resource data. Please see the inner exception for more details.", ex);
}
return client.JsonSerializer.Deserialize<T>(plainJson);

View File

@@ -55,7 +55,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV2
}
catch (Exception ex)
{
error = new Exceptions.WechatTenpayEventVerificationException("Verify signature of event failed. Please see the `InnerException` for more details.", ex);
error = new Exceptions.WechatTenpayEventVerificationException("Verify signature of event failed. Please see the inner exception for more details.", ex);
return false;
}
}