MCPcopy Create free account
hub / github.com/SolSaviour/INFO1112-Materials / __init__

Method __init__

Week 6/server.py:1964–1971  ·  view source on GitHub ↗
(self,
                 status=None,
                 body=None,
                 exception=None,
                 traceback=None, **more_headers)

Source from the content-addressed store, hash-verified

1962 default_status = 500
1963
1964 def __init__(self,
1965 status=None,
1966 body=None,
1967 exception=None,
1968 traceback=None, **more_headers):
1969 self.exception = exception
1970 self.traceback = traceback
1971 super(HTTPError, self).__init__(body, status, **more_headers)
1972
1973###############################################################################
1974# Plugins ######################################################################

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected