video2x/bin/exceptions.py

29 lines
581 B
Python
Raw Normal View History

2018-12-21 23:41:01 +00:00
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
2018-12-21 23:41:01 +00:00
"""
Name: Video2X Exceptions
Dev: K4YT3X
Date Created: December 13, 2018
Last Modified: July 27, 2019
2018-12-21 23:41:01 +00:00
"""
class ArgumentError(Exception):
def __init__(self, message):
super().__init__(message)
class StreamNotFoundError(Exception):
def __init__(self, message):
super().__init__(message)
class UnrecognizedDriverError(Exception):
def __init__(self, message):
super().__init__(message)
class UnsupportedPixelError(Exception):
def __init__(self, message):
super().__init__(message)