mirror of
https://github.com/k4yt3x/video2x.git
synced 2026-02-19 21:14:44 +08:00
added exceptions file
This commit is contained in:
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)
|
||||||
Reference in New Issue
Block a user