MCPcopy Create free account
hub / github.com/modelscope/modelscope / RequestError

Class RequestError

modelscope/hub/errors.py:30–35  ·  view source on GitHub ↗

Legacy alias — use APIError for new code.

Source from the content-addressed store, hash-verified

28
29
30class RequestError(APIError):
31 """Legacy alias — use APIError for new code."""
32
33 def __init__(self, message: str = '', *args, **kwargs):
34 # Preserve legacy single-positional-arg constructor signature.
35 super().__init__(message, **kwargs)
36
37
38class NotLoginException(AuthenticationError):

Callers 6

createMethod · 0.90
getMethod · 0.90
deleteMethod · 0.90
listMethod · 0.90
raise_on_errorFunction · 0.85
datahub_raise_on_errorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…