nsedt.utils.exceptions

_summary_

Returns: _type_: _description_

 1"""_summary_
 2
 3Returns:
 4    _type_: _description_
 5"""
 6
 7
 8class MissingEnvValue(BaseException):
 9    """_summary_
10
11    Args:
12        BaseException (_type_): _description_
13    """
14
15    def __init__(self, message: str):
16        self.message = message
17
18    def __str__(self):
19        return f""" ----[ERROR]----
20=================================================================================================
21{self.message}
22=================================================================================================
23"""
24
25
26class DateStrikePriceOutofRange(BaseException):
27    """_summary_
28
29    Args:
30        BaseException (_type_): _description_
31    """
32
33    def __str__(self):
34        return """ ----[ERROR]----
35=================================================================================================
36Either Date of strike Price is out of range for NSE (No data found)
37=================================================================================================
38"""
class MissingEnvValue(builtins.BaseException):
 9class MissingEnvValue(BaseException):
10    """_summary_
11
12    Args:
13        BaseException (_type_): _description_
14    """
15
16    def __init__(self, message: str):
17        self.message = message
18
19    def __str__(self):
20        return f""" ----[ERROR]----
21=================================================================================================
22{self.message}
23=================================================================================================
24"""

_summary_

Args: BaseException (_type_): _description_

MissingEnvValue(message: str)
16    def __init__(self, message: str):
17        self.message = message
message
Inherited Members
builtins.BaseException
with_traceback
args
class DateStrikePriceOutofRange(builtins.BaseException):
27class DateStrikePriceOutofRange(BaseException):
28    """_summary_
29
30    Args:
31        BaseException (_type_): _description_
32    """
33
34    def __str__(self):
35        return """ ----[ERROR]----
36=================================================================================================
37Either Date of strike Price is out of range for NSE (No data found)
38=================================================================================================
39"""

_summary_

Args: BaseException (_type_): _description_

Inherited Members
builtins.BaseException
BaseException
with_traceback
args