m /Ec@s:dZdklZdklZdefdYZdS(srITracebackSupplement interface definition. $Id: ITracebackSupplement.py 40218 2005-11-18 14:39:19Z andreasjung $ (s Interface(s AttributetITracebackSupplementcBsttZdZeddZeddZeddZeddZed d Zed d Z d dZ RS(sProvides valuable information to supplement an exception traceback. The interface is geared toward providing meaningful feedback when exceptions occur in user code written in mini-languages like Zope page templates and restricted Python scripts. t source_urlsOptional. Set to URL of the script where the exception occurred. Normally this generates a URL in the traceback that the user can visit to manage the object. Set to None if unknown or not available. tobjectsOptional. Set to the script or template where the exception occurred. Set to None if unknown or not available. tlinesOptional. Set to the line number (>=1) where the exception occurred. Set to 0 or None if the line number is unknown. tcolumnsOptional. Set to the column offset (>=0) where the exception occurred. Set to None if the column number is unknown. t expressions|Optional. Set to the expression that was being evaluated. Set to None if not available or not applicable. twarningssOptional. Set to a sequence of warning messages. Set to None if not available, not applicable, or if the exception itself provides enough information. icCsdS(sOptional. Returns a string containing any other useful info. If as_html is set, the implementation must HTML-quote the result (normally using cgi.escape()). Returns None to provide no extra info. N((tas_html((t?/data/zmath/zope/lib/python/zExceptions/ITracebackSupplement.pytgetInfoVs( t__name__t __module__t__doc__t AttributeRRRRRRR (((RRs       N(R t InterfacetInterface.AttributeR R(RR R((Rt?s