Skip to content

Commit 79d1168

Browse files
authored
added userexception.py
userexception.py includes user defined exception NotFound
1 parent 40cd169 commit 79d1168

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

gnewsclient/userexception.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#User defined exceptions for Gnewsclient
2+
class NotFound(Exception):
3+
"""Raised when the list articles in the function scapefeed() is empty"""
4+
pass

0 commit comments

Comments
 (0)