MCPcopy Create free account
hub / github.com/mlco2/codecarbon / __init__

Method __init__

carbonserver/carbonserver/api/errors.py:63–64  ·  view source on GitHub ↗
(self, error)

Source from the content-addressed store, hash-verified

61
62class UserException(Exception):
63 def __init__(self, error):
64 self.error = error
65
66
67def get_http_exception(exception) -> HTTPException:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected