You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

GatewayReconnectException.cs 629 B

12345678910111213141516171819
  1. using System;
  2. namespace Discord.WebSocket
  3. {
  4. /// <summary>
  5. /// The exception thrown when the gateway client has been requested to reconnect.
  6. /// </summary>
  7. public class GatewayReconnectException : Exception
  8. {
  9. /// <summary>
  10. /// Initializes a new instance of the <see cref="GatewayReconnectException" /> class with the reconnection
  11. /// message.
  12. /// </summary>
  13. /// <param name="message">The reason why the gateway has been requested to reconnect.</param>
  14. public GatewayReconnectException(string message)
  15. : base(message)
  16. { }
  17. }
  18. }