TimeoutException now inherits OperationCanceledException
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
namespace Discord
|
namespace Discord
|
||||||
{
|
{
|
||||||
public sealed class TimeoutException : Exception
|
public sealed class TimeoutException : OperationCanceledException
|
||||||
{
|
{
|
||||||
internal TimeoutException()
|
internal TimeoutException()
|
||||||
: base("An operation has timed out.")
|
: base("An operation has timed out.")
|
||||||
|
|||||||
Reference in New Issue
Block a user