Browse Source

TimeoutException now inherits OperationCanceledException

tags/docs-0.9
RogueException 9 years ago
parent
commit
7821151e07
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Discord.Net/TimeoutException.cs

+ 1
- 1
src/Discord.Net/TimeoutException.cs View File

@@ -2,7 +2,7 @@

namespace Discord
{
public sealed class TimeoutException : Exception
public sealed class TimeoutException : OperationCanceledException
{
internal TimeoutException()
: base("An operation has timed out.")


Loading…
Cancel
Save