MythTV
master
mythtv
programs
scripts
internetcontent
nv_python_libs
mnvsearch
mnvsearch_exceptions.py
Go to the documentation of this file.
1
# -*- coding: UTF-8 -*-
2
3
# ----------------------
4
# Name: mnvsearch_exceptions - Custom exceptions used or raised by mnvsearch_api
5
# Python Script
6
# Author: R.D. Vaughan
7
# Purpose: Custom exceptions used or raised by mnvsearch_api
8
#
9
# License:Creative Commons GNU GPL v2
10
# (http://creativecommons.org/licenses/GPL/2.0/)
11
#-------------------------------------
12
__title__ =
"mnvsearch_exceptions - Custom exceptions used or raised by mnvsearch_api"
;
13
__author__=
"R.D. Vaughan"
14
__version__=
"v0.1.0"
15
# 0.1.0 Initial development
16
17
__all__ = [
"MNVSQLError"
,
"MNVVideoNotFound"
, ]
18
19
class
MNVBaseError
(Exception):
20
pass
21
22
class
MNVSQLError
(
MNVBaseError
):
23
def
__repr__
(self):
# Display the type of error
24
return
None
25
# end __repr__
26
27
class
MNVVideoNotFound
(
MNVBaseError
):
28
def
__repr__
(self):
29
return
None
30
# end __repr__
nv_python_libs.mnvsearch.mnvsearch_exceptions.MNVVideoNotFound.__repr__
def __repr__(self)
Definition:
mnvsearch_exceptions.py:28
nv_python_libs.mnvsearch.mnvsearch_exceptions.MNVSQLError
Definition:
mnvsearch_exceptions.py:22
nv_python_libs.mnvsearch.mnvsearch_exceptions.MNVSQLError.__repr__
def __repr__(self)
Definition:
mnvsearch_exceptions.py:23
nv_python_libs.mnvsearch.mnvsearch_exceptions.MNVVideoNotFound
Definition:
mnvsearch_exceptions.py:27
nv_python_libs.mnvsearch.mnvsearch_exceptions.MNVBaseError
Definition:
mnvsearch_exceptions.py:19
Generated on Tue Jan 7 2025 03:18:42 for MythTV by
1.8.17