From 1584aa31f1a6f66363303e598741d2754311ef3d Mon Sep 17 00:00:00 2001
From: Still Hsu <341464@gmail.com>
Date: Tue, 26 Jun 2018 17:29:20 +0800
Subject: [PATCH] Fix exception summary to comply with official Microsoft Docs
style
* References
https://docs.microsoft.com/en-us/dotnet/api/system.argumentnullexception?view=netframework-4.7.2
https://docs.microsoft.com/en-us/dotnet/api/system.platformnotsupportedexception?view=netframework-4.7.2
https://docs.microsoft.com/en-us/dotnet/api/system.badimageformatexception?view=netframework-4.7.2
---
src/Discord.Net.Commands/CommandException.cs | 2 +-
src/Discord.Net.Core/Net/HttpException.cs | 2 +-
src/Discord.Net.Core/Net/WebSocketClosedException.cs | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/Discord.Net.Commands/CommandException.cs b/src/Discord.Net.Commands/CommandException.cs
index f8fbda290..6c5ab0ae5 100644
--- a/src/Discord.Net.Commands/CommandException.cs
+++ b/src/Discord.Net.Commands/CommandException.cs
@@ -3,7 +3,7 @@ using System;
namespace Discord.Commands
{
///
- /// Describes an exception that occurred during a command execution.
+ /// The exception that is thrown if another exception occurs during a command execution.
///
public class CommandException : Exception
{
diff --git a/src/Discord.Net.Core/Net/HttpException.cs b/src/Discord.Net.Core/Net/HttpException.cs
index aa440bf1c..7b395d022 100644
--- a/src/Discord.Net.Core/Net/HttpException.cs
+++ b/src/Discord.Net.Core/Net/HttpException.cs
@@ -4,7 +4,7 @@ using System.Net;
namespace Discord.Net
{
///
- /// Describes an exception that occurred during the processing of Discord HTTP requests.
+ /// The exception that is thrown if an error occurs while processing an Discord HTTP request.
///
public class HttpException : Exception
{
diff --git a/src/Discord.Net.Core/Net/WebSocketClosedException.cs b/src/Discord.Net.Core/Net/WebSocketClosedException.cs
index 492bd82e0..6e2564f6e 100644
--- a/src/Discord.Net.Core/Net/WebSocketClosedException.cs
+++ b/src/Discord.Net.Core/Net/WebSocketClosedException.cs
@@ -2,7 +2,7 @@ using System;
namespace Discord.Net
{
///
- /// Describes an exception that causes the WebSocket to close during a session.
+ /// The exception that is thrown when the WebSocket session is closed by Discord.
///
public class WebSocketClosedException : Exception
{