2018-12-21 23:41:01 +00:00
|
|
|
#!/usr/bin/env python3
|
2019-07-27 17:39:40 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
2018-12-21 23:41:01 +00:00
|
|
|
"""
|
|
|
|
Name: Video2X Exceptions
|
|
|
|
Dev: K4YT3X
|
|
|
|
Date Created: December 13, 2018
|
2019-07-27 17:39:40 +00:00
|
|
|
Last Modified: July 27, 2019
|
2018-12-21 23:41:01 +00:00
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
|
|
class ArgumentError(Exception):
|
|
|
|
def __init__(self, message):
|
|
|
|
super().__init__(message)
|
2019-07-27 21:52:31 +00:00
|
|
|
|
|
|
|
|
|
|
|
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)
|