MCPcopy Create free account
hub / github.com/commandoperator/cmdop-sdk / __init__

Method __init__

python/src/cmdop/errors.py:26–38  ·  view source on GitHub ↗
(
        self,
        message: str,
        *,
        status: int | None = None,
        code: str | None = None,
        body: Any = None,
    )

Source from the content-addressed store, hash-verified

24 self.message = message
25 self.code = code
26 self.status = status
27 self.details = details
28 if retryable is not None:
29 self.retryable = retryable
30
31
32class AuthError(CmdopError):
33 pass
34
35
36class PermissionError(CmdopError): # noqa: A001
37 pass
38
39
40class NotFoundError(CmdopError):
41 pass

Callers 2

__init__Method · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected