MCPcopy Index your code
hub / github.com/webpy/webpy / _InternalError

Class _InternalError

web/webapi.py:361–369  ·  view source on GitHub ↗

500 Internal Server Error`.

Source from the content-addressed store, hash-verified

359
360
361class _InternalError(HTTPError):
362 """500 Internal Server Error`."""
363
364 message = "internal server error"
365
366 def __init__(self, message=None):
367 status = "500 Internal Server Error"
368 headers = {"Content-Type": "text/html"}
369 HTTPError.__init__(self, status, headers, message or self.message)
370
371
372def InternalError(message=None):

Callers 1

InternalErrorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected