mirror of
https://github.com/k4yt3x/video2x.git
synced 2025-01-30 23:58:11 +00:00
added exceptions file
This commit is contained in:
parent
1d9ea60e4d
commit
df70acbd36
18
bin/exceptions.py
Executable file
18
bin/exceptions.py
Executable 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)
|
Loading…
Reference in New Issue
Block a user