MCPcopy Create free account
hub / github.com/PaddlePaddle/PaddleOCR / __init__

Method __init__

paddleocr/_api_client/errors.py:35–37  ·  view source on GitHub ↗
(self, status_code: int, message: str)

Source from the content-addressed store, hash-verified

33 """Non-2xx response from the API server."""
34
35 def __init__(self, status_code: int, message: str):
36 self.status_code = status_code
37 super().__init__(f"HTTP {status_code}: {message}")
38
39
40class RateLimitError(APIError):

Callers 5

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected