Remove useless and redundant docstrings from custom exceptions.

This commit is contained in:
Davide Casale
2023-10-26 06:41:42 +02:00
parent c02d6d7bf8
commit b082891c41
7 changed files with 40 additions and 70 deletions

View File

@@ -1,17 +1,10 @@
# pylint: disable-next=wildcard-import,unused-wildcard-import
from bfxapi._exceptions import *
from bfxapi.exceptions import BfxBaseException
class ResourceNotFound(BfxBaseException):
"""
This error indicates a failed HTTP request to a non-existent resource.
"""
class NotFoundError(BfxBaseException):
pass
class RequestParametersError(BfxBaseException):
"""
This error indicates that there are some invalid parameters sent along with an HTTP request.
"""
pass
class UnknownGenericError(BfxBaseException):
"""
This error indicates an undefined problem processing an HTTP request sent to the APIs.
"""
pass