| 1951 | |
| 1952 | |
| 1953 | class HTTPError(HTTPResponse): |
| 1954 | default_status = 500 |
| 1955 | |
| 1956 | def __init__(self, |
| 1957 | status=None, |
| 1958 | body=None, |
| 1959 | exception=None, |
| 1960 | traceback=None, **more_headers): |
| 1961 | self.exception = exception |
| 1962 | self.traceback = traceback |
| 1963 | super(HTTPError, self).__init__(body, status, **more_headers) |
| 1964 | |
| 1965 | ############################################################################### |
| 1966 | # Plugins ###################################################################### |
no outgoing calls
no test coverage detected