Commit 5b695d21 authored by Barkin Simsek's avatar Barkin Simsek 🐢
Browse files

add custom exceptions

parent 6417d229
class Error(Exception):
"""Base class for other exceptions"""
pass
class BrowserInitErr(Error):
"""Browser initialization error"""
pass
class WebDriverGetErr(Error):
"""Error while using webdriver.get()"""
pass
class HTTPHeaderLiveParseErr(Error):
"""HTTP-Header-Live extension had problem while parsing the headers"""
pass
class HTTPHeaderLiveCaptureErr(Error):
"""Couldn't capture headers from HTTP-Header-Live extension export file"""
pass
class MissingEnvVar(Error):
"""There are required but missing environment variables"""
pass
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment