mirror of https://github.com/Bunsly/JobSpy
37 lines
995 B
Python
37 lines
995 B
Python
"""
|
|
jobspy.jobboard.exceptions
|
|
~~~~~~~~~~~~~~~~~~~
|
|
|
|
This module contains the set of Scrapers' exceptions.
|
|
"""
|
|
|
|
|
|
class LinkedInException(Exception):
|
|
def __init__(self, message=None):
|
|
super().__init__(message or "An error occurred with LinkedIn")
|
|
|
|
|
|
class IndeedException(Exception):
|
|
def __init__(self, message=None):
|
|
super().__init__(message or "An error occurred with Indeed")
|
|
|
|
|
|
class ZipRecruiterException(Exception):
|
|
def __init__(self, message=None):
|
|
super().__init__(message or "An error occurred with ZipRecruiter")
|
|
|
|
|
|
class GlassdoorException(Exception):
|
|
def __init__(self, message=None):
|
|
super().__init__(message or "An error occurred with Glassdoor")
|
|
|
|
|
|
class GoogleJobsException(Exception):
|
|
def __init__(self, message=None):
|
|
super().__init__(message or "An error occurred with Google Jobs")
|
|
|
|
|
|
class BaytException(Exception):
|
|
def __init__(self, message=None):
|
|
super().__init__(message or "An error occurred with Bayt")
|