Remove InvalidEventName exception due to it being unused
This commit is contained in:
		| @@ -27,7 +27,7 @@ DEALINGS IN THE SOFTWARE. | |||||||
| from __future__ import print_function | from __future__ import print_function | ||||||
|  |  | ||||||
| from . import endpoints | from . import endpoints | ||||||
| from .errors import InvalidEventName, InvalidDestination, GatewayNotFound | from .errors import * | ||||||
| from .user import User | from .user import User | ||||||
| from .channel import Channel, PrivateChannel | from .channel import Channel, PrivateChannel | ||||||
| from .server import Server | from .server import Server | ||||||
|   | |||||||
| @@ -24,10 +24,6 @@ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | |||||||
| DEALINGS IN THE SOFTWARE. | DEALINGS IN THE SOFTWARE. | ||||||
| """ | """ | ||||||
|  |  | ||||||
| class InvalidEventName(Exception): |  | ||||||
|     """Thrown when an event from :meth:`Client.event` has an invalid name.""" |  | ||||||
|     pass |  | ||||||
|  |  | ||||||
| class InvalidDestination(Exception): | class InvalidDestination(Exception): | ||||||
|     """Thrown when the destination from :meth:`Client.send_message` is invalid.""" |     """Thrown when the destination from :meth:`Client.send_message` is invalid.""" | ||||||
|     pass |     pass | ||||||
|   | |||||||
| @@ -282,10 +282,6 @@ Exceptions | |||||||
|  |  | ||||||
| The following exceptions are thrown by the library. | The following exceptions are thrown by the library. | ||||||
|  |  | ||||||
|  |  | ||||||
| .. autoclass:: InvalidEventName |  | ||||||
|     :members: |  | ||||||
|  |  | ||||||
| .. autoclass:: InvalidDestination | .. autoclass:: InvalidDestination | ||||||
|     :members: |     :members: | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user