module irc.exception; /** * Thrown when an error occured parsing an IRC message. */ class IrcParseErrorException : Exception { this(string msg, string file = __FILE__, size_t line = __LINE__) { super(msg, file, line); } } /** * Thrown if an unconnected client was passed when a connected client was expected. */ class UnconnectedClientException : Exception { this(string msg, string file = __FILE__, size_t line = __LINE__) { super(msg, file, line); } }