using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace DiscordRPC.Exceptions { /// /// Thrown when an action is performed on a client that has not yet been initialized /// public class UninitializedException : Exception { /// /// Creates a new unintialized exception /// /// internal UninitializedException(string message) : base(message) { } /// /// Creates a new uninitialized exception with default message. /// internal UninitializedException() : this("Cannot perform action because the client has not been initialized yet or has been deinitialized.") { } } }