added exceptions file

This commit is contained in:
K4YT3X 2018-12-21 18:41:01 -05:00
parent 1d9ea60e4d
commit df70acbd36

18
bin/exceptions.py Executable file
View File

@ -0,0 +1,18 @@
#!/usr/bin/env python3
# -*- code:utf-8 -*-
"""
Name: Video2X Exceptions
Dev: K4YT3X
Date Created: December 13, 2018
Last Modified: December 19, 2018
"""
class ArgumentError(Exception):
def __init__(self, message):
super().__init__(message)
class InvalidModelType(Exception):
def __init__(self, message):
super().__init__(message)