Module nepse_tools.platforms.meroshare.exceptions
Expand source code
from nepse_tools.exceptions import NepseToolsBaseException
class MeroshareBaseException(NepseToolsBaseException):
"""
Base Exception for meroshare, Every exception raised by meroshare must inherit from this Exception.
"""
pass
class MeroshareDataLoadError(MeroshareBaseException):
"""
Exception raised when api request to Meroshare backend fails.
"""
pass
class MeroshareLoginError(MeroshareBaseException):
"""
Exception raised when performing authentication related tasks.
"""
pass
class MeroshareShareApplicationError(MeroshareBaseException):
"""
Exception raised when Application Error is encountered.
"""
pass
class MeroshareClientIDNotFoundError(MeroshareBaseException):
"""
Exception raised when client ID is not found, when using `DP` to find the client ID.
"""
pass
class MeroshareCredentialChangeError(MeroshareBaseException):
"""
Exception raised when changing of pin or password is not successful.
"""
pass
Classes
-
Base Exception for meroshare, Every exception raised by meroshare must inherit from this Exception.
Expand source code
class MeroshareBaseException(NepseToolsBaseException): """ Base Exception for meroshare, Every exception raised by meroshare must inherit from this Exception. """ pass
Ancestors
- NepseToolsBaseException
- builtins.Exception
- builtins.BaseException
Subclasses
-
Exception raised when client ID is not found, when using
DP
to find the client ID.Expand source code
class MeroshareClientIDNotFoundError(MeroshareBaseException): """ Exception raised when client ID is not found, when using `DP` to find the client ID. """ pass
Ancestors
- MeroshareBaseException
- NepseToolsBaseException
- builtins.Exception
- builtins.BaseException
-
Exception raised when changing of pin or password is not successful.
Expand source code
class MeroshareCredentialChangeError(MeroshareBaseException): """ Exception raised when changing of pin or password is not successful. """ pass
Ancestors
- MeroshareBaseException
- NepseToolsBaseException
- builtins.Exception
- builtins.BaseException
-
Exception raised when api request to Meroshare backend fails.
Expand source code
class MeroshareDataLoadError(MeroshareBaseException): """ Exception raised when api request to Meroshare backend fails. """ pass
Ancestors
- MeroshareBaseException
- NepseToolsBaseException
- builtins.Exception
- builtins.BaseException
-
Exception raised when performing authentication related tasks.
Expand source code
class MeroshareLoginError(MeroshareBaseException): """ Exception raised when performing authentication related tasks. """ pass
Ancestors
- MeroshareBaseException
- NepseToolsBaseException
- builtins.Exception
- builtins.BaseException
-
Exception raised when Application Error is encountered.
Expand source code
class MeroshareShareApplicationError(MeroshareBaseException): """ Exception raised when Application Error is encountered. """ pass
Ancestors
- MeroshareBaseException
- NepseToolsBaseException
- builtins.Exception
- builtins.BaseException