Package mapproxy :: Package core :: Module exceptions :: Class PlainExceptionHandler
[hide private]
[frames] | no frames]

Class PlainExceptionHandler

source code

      object --+    
               |    
ExceptionHandler --+
                   |
                  PlainExceptionHandler

Instance Methods [hide private]
Response
render(self, request_error)
Return a response with the rendered exception.
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables [hide private]
  mimetype = 'text/plain'
  status_code = 404
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

render(self, request_error)

source code 
Return a response with the rendered exception.
Parameters:
  • request_error - the exception to render
Returns: Response
Overrides: ExceptionHandler.render
(inherited documentation)