Home
last modified time | relevance | path

Searched refs:exc_data (Results 1 – 6 of 6) sorted by relevance

/external/chromium-trace/catapult/third_party/Paste/paste/exceptions/
Dreporter.py28 def format_date(self, exc_data): argument
29 return time.strftime('%c', exc_data.date)
31 def format_html(self, exc_data, **kw): argument
32 return formatter.format_html(exc_data, **kw)
34 def format_text(self, exc_data, **kw): argument
35 return formatter.format_text(exc_data, **kw)
47 def report(self, exc_data): argument
48 msg = self.assemble_email(exc_data)
72 def assemble_email(self, exc_data): argument
74 exc_data, show_hidden_frames=False)
[all …]
Derrormiddleware.py354 exc_data = collector.collect_exception(*exc_info)
365 rep_err = send_report(rep, exc_data, html=html)
373 rep_err = send_report(rep, exc_data, html=html)
381 rep_err = send_report(rep, exc_data, html=html)
388 % (exc_data.exception_type, exc_data.exception_value))
395 exc_data, include_hidden_frames=False,
400 exc_data,
417 err_report = formatter.format_text(exc_data, show_hidden_frames=True)
424 def send_report(rep, exc_data, html=True): argument
426 rep.report(exc_data)
Dformatter.py31 def format_collected_data(self, exc_data): argument
34 for name, value_list in exc_data.extra_data.items():
43 frames = self.filter_frames(exc_data.frames)
79 etype = exc_data.exception_type
84 exc_data.exception_value)
440 def format_html(exc_data, include_hidden_frames=False, **ops): argument
442 return HTMLFormatter(**ops).format_collected_data(exc_data)
443 short_er = format_html(exc_data, show_hidden_frames=False, **ops)
448 long_er = format_html(exc_data, show_hidden_frames=True, **ops)
449 text_er = format_text(exc_data, show_hidden_frames=True, **ops)
[all …]
/external/chromium-trace/catapult/third_party/Paste/paste/evalexception/
Dmiddleware.py340 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)
351 exc_data, include_hidden_frames=False,
372 def __init__(self, counter, exc_info, exc_data, base_path, argument
375 self.exc_data = exc_data
415 html = format_eval_html(self.exc_data, self.base_path, self.counter)
490 def format_eval_html(exc_data, base_path, counter): argument
495 short_er = short_formatter.format_collected_data(exc_data)
502 long_er = long_formatter.format_collected_data(exc_data)
[all …]
/external/chromium-trace/catapult/third_party/Paste/tests/test_exceptions/
Dtest_reporter.py28 exc_data = collector.collect_exception(*sys.exc_info())
31 rep.report(exc_data)
42 exc_data = collector.collect_exception(*sys.exc_info())
45 rep.report(exc_data)
/external/chromium-trace/catapult/third_party/Paste/docs/
Dnews.txt661 ``exc_data.exception_type`` that is a class, not a string. This