`handle_error`'s docstring states that it returns a `Response`, but in most case `HttpDispatcher.handle_error` returns an `HTTPException`. After discussion, the implementation is correct, `handle_error` should be documented to return a WSGI Application (a callable taking an `environ` and a `start_response` callable) instead. closes odoo/odoo#112889 Forward-port-of: odoo/odoo#112690 Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>