Home
last modified time | relevance | path

Searched refs:exc_info (Results 1 – 25 of 79) sorted by relevance

1234

/external/chromium-trace/trace-viewer/third_party/Paste/paste/
Dcgitb_catcher.py47 exc_info = sys.exc_info()
50 exc_info)
51 response = self.exception_handler(exc_info, environ)
67 response = self.exception_handler(sys.exc_info(), environ)
73 sys.exc_info(), environ)
81 def exception_handler(self, exc_info, environ): argument
88 hook(*exc_info)
Dtransaction.py41 def error(self, exc_info): argument
90 def finalizer(exc_info=None): argument
91 if exc_info:
92 if isinstance(exc_info[1], HTTPException):
93 should_commit.append(exc_info[1].code)
103 def basictrans_start_response(status, headers, exc_info = None): argument
105 return start_response(status, headers, exc_info)
Drecursive.py321 def start_response(status, headers, exc_info=None): argument
322 if exc_info:
323 six.reraise(exc_info[0], exc_info[1], exc_info[2])
375 def start_response(status, headers, exc_info=None): argument
376 if exc_info:
377 six.reraise(exc_info[0], exc_info[1], exc_info[2])
Derrordocument.py72 def keep_status_start_response(status, headers, exc_info=None): argument
78 return start_response(self.status, self.headers, exc_info)
93 … keep_status_start_response('500 Server Error', [('Content-type', 'text/plain')], sys.exc_info())
172 def change_response(status, headers, exc_info=None): argument
200 return start_response(status, headers, exc_info)
300 def change_response(status, headers, exc_info=None): argument
327 return start_response(status, headers, exc_info)
332 error = str(sys.exc_info()[1])
356 def eat_start_response(status, headers, exc_info=None): argument
Dwsgilib.py134 got_exc = sys.exc_info()
182 error_callback(sys.exc_info())
213 self.error_callback(sys.exc_info())
228 return error_callback_app(environ, start_response, sys.exc_info())
271 self.environ, self.start_response, sys.exc_info())
327 def start_response(status, headers, exc_info=None): argument
328 if exc_info:
332 six.reraise(exc_info[0], exc_info[1], exc_info[2])
335 exc_info = None
464 def replacement_start_response(status, headers, exc_info=None): argument
[all …]
Dlint.py155 exc_info = args[2]
157 exc_info = None
162 check_exc_info(exc_info)
418 def check_exc_info(exc_info): argument
419 assert exc_info is None or type(exc_info) is type(()), (
420 "exc_info (%r) is not a tuple: %r" % (exc_info, type(exc_info)))
Dmodpython.py176 def start_response(self, status, headers, exc_info=None): argument
177 if exc_info:
180 six.reraise(exc_info[0], exc_info[1], exc_info[2])
182 exc_info = None
Dflup_session.py78 def cookie_start_response(status, headers, exc_info=None): argument
80 return start_response(status, headers, exc_info)
/external/chromium-trace/trace-viewer/third_party/Paste/paste/exceptions/
Derrormiddleware.py145 exc_info = sys.exc_info()
148 if isinstance(exc_info[1], expect):
152 exc_info)
154 response = self.exception_handler(exc_info, environ)
160 exc_info = None
168 def exception_handler(self, exc_info, environ): argument
175 exc_info, environ['wsgi.errors'],
235 exc_info = sys.exc_info()
237 exc_info, self.environ)
246 exc_info)
[all …]
Dformatter.py82 exc_info = self.format_exception_info(
92 return self.format_combine(data_by_importance, lines, exc_info)
200 def format_combine(self, data_by_importance, lines, exc_info): argument
202 lines.append(exc_info)
284 def format_combine(self, data_by_importance, lines, exc_info): argument
286 lines.append(exc_info)
/external/chromium-trace/trace-viewer/third_party/Paste/paste/debug/
Dprofile.py50 def replace_start_response(status, headers, exc_info=None): argument
52 start_response(status, headers, exc_info)
166 exc_info = None
172 exc_info = sys.exc_info()
202 if exc_info:
204 six.reraise(exc_info[0], exc_info[1], exc_info[2])
Dwdg_validate.py45 def writer_start_response(status, headers, exc_info=None): argument
47 start_response(status, headers, exc_info)
/external/chromium-trace/trace-viewer/third_party/Paste/paste/util/
Dscgiserver.py89 def start_response(status, response_headers, exc_info=None): argument
90 if exc_info:
94 six.reraise(exc_info[0], exc_info[1], exc_info[2])
96 exc_info = None # avoid dangling circular ref
Dtemplate.py204 exc_info = sys.exc_info()
205 e = exc_info[1]
211 six.reraise(exc_info[0], e, exc_info[2])
218 exc_info = sys.exc_info()
219 e = exc_info[1]
221 six.reraise(exc_info[0], e, exc_info[2])
236 exc_info = sys.exc_info()
237 e = exc_info[1]
239 six.reraise(exc_info[0], e, exc_info[2])
Dtemplate.py.orig209 exc_info = sys.exc_info()
210 e = exc_info[1]
216 six.reraise(exc_info[0], e, exc_info[2])
223 exc_info = sys.exc_info()
224 e = exc_info[1]
226 six.reraise(exc_info[0], e, exc_info[2])
241 exc_info = sys.exc_info()
242 e = exc_info[1]
244 six.reraise(exc_info[0], e, exc_info[2])
Dtemplate.py.2015-04-30-123224209 exc_info = sys.exc_info()
210 e = exc_info[1]
216 six.reraise(exc_info[0], e, exc_info[2])
223 exc_info = sys.exc_info()
224 e = exc_info[1]
226 six.reraise(exc_info[0], e, exc_info[2])
241 exc_info = sys.exc_info()
242 e = exc_info[1]
244 six.reraise(exc_info[0], e, exc_info[2])
/external/chromium-trace/trace-viewer/third_party/Paste/paste/evalexception/
Dmiddleware.py92 sys.exc_info())
301 def detect_start_response(status, headers, exc_info=None): argument
303 return start_response(status, headers, exc_info)
318 exc_info = sys.exc_info()
320 if isinstance(exc_info[1], expected):
334 exc_info)
340 exc_data = collector.collect_exception(*exc_info)
341 debug_info = DebugInfo(count, exc_info, exc_data, base_path,
349 exc_data = collector.collect_exception(*exc_info)
358 def exception_handler(self, exc_info, environ): argument
[all …]
/external/lldb/test/
Dlldbtest.py387 raise case._ExpectedFailure(sys.exc_info(),None)
391 raise case._UnexpectedSuccess(sys.exc_info(),None)
404 raise case._ExpectedFailure(sys.exc_info(),bugnumber)
408 raise case._UnexpectedSuccess(sys.exc_info(),bugnumber)
423 raise case._ExpectedFailure(sys.exc_info(),None)
427 raise case._UnexpectedSuccess(sys.exc_info(),None)
440 raise case._ExpectedFailure(sys.exc_info(),bugnumber)
444 raise case._UnexpectedSuccess(sys.exc_info(),bugnumber)
459 raise case._ExpectedFailure(sys.exc_info(),None)
463 raise case._UnexpectedSuccess(sys.exc_info(),None)
[all …]
/external/lldb/test/unittest2/
Dcase.py39 def __init__(self, exc_info, bugnumber=None): argument
42 self.exc_info = exc_info
50 def __init__(self, exc_info, bugnumber=None): argument
53 self.exc_info = exc_info
98 raise _ExpectedFailure(sys.exc_info(),None)
99 raise _UnexpectedSuccess(sys.exc_info(),None)
108 raise _ExpectedFailure(sys.exc_info(),bugnumber)
109 raise _UnexpectedSuccess(sys.exc_info(),bugnumber)
354 result.addError(self, sys.exc_info())
359 result.addFailure(self, sys.exc_info())
[all …]
/external/libxml2/python/
Dsetup.py107 print(sys.exc_info()[0], sys.exc_info()[1])
133 print(sys.exc_info()[0], sys.exc_info()[1])
Dsetup.py.in107 print(sys.exc_info()[0], sys.exc_info()[1])
133 print(sys.exc_info()[0], sys.exc_info()[1])
/external/chromium-trace/trace-viewer/third_party/Paste/paste/cowbell/
D__init__.py21 def repl_start_response(status, headers, exc_info=None): argument
26 start_response(status, headers, exc_info)
28 return start_response(status, headers, exc_info)
/external/chromium-trace/trace-viewer/third_party/Paste/tests/test_exceptions/
Dtest_reporter.py28 exc_data = collector.collect_exception(*sys.exc_info())
42 exc_data = collector.collect_exception(*sys.exc_info())
Dtest_error_middleware.py28 def replacement(status, headers, exc_info=None): argument
30 return start_response(status, headers, exc_info)
/external/chromium-trace/trace-viewer/third_party/WebOb/webob/
Dexc.py1119 parent_exc_info = sys.exc_info()
1120 def repl_start_response(status, headers, exc_info=None): argument
1121 if exc_info is None:
1122 exc_info = parent_exc_info
1123 return start_response(status, headers, exc_info)

1234