From df70acbd36ae7bc5ee04bab27c9dca6dfeba7b45 Mon Sep 17 00:00:00 2001 From: K4YT3X Date: Fri, 21 Dec 2018 18:41:01 -0500 Subject: [PATCH] added exceptions file --- bin/exceptions.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 bin/exceptions.py diff --git a/bin/exceptions.py b/bin/exceptions.py new file mode 100755 index 0000000..4d2bf51 --- /dev/null +++ b/bin/exceptions.py @@ -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)