add kakao exception module

git-svn-id: svn://192.168.0.12/source@295 8346c931-da38-4b9b-9d4c-e48b93cbd075
This commit is contained in:
admin
2016-09-08 06:03:28 +00:00
parent c0e614bac1
commit df36c714b4
2 changed files with 1391 additions and 0 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,16 @@
# Basic exception
class KakaoCrawlerException(Exception):
def __init__(self, *args, **kwargs):
Exception.__init__(self, *args, **kwargs)
# exception for no element
class NotFoundElementError(KakaoCrawlerException):
def __init__(self, *args, **kwargs):
KakaoCrawlerException.__init__(self, *args, **kwargs)
# exception for no data
class NotFoundDataError(KakaoCrawlerException):
def __init__(self, *args, **kwargs):
KakaoCrawlerException.__init__(self, *args, **kwargs)