Trees | Index | Help |
|
---|
Package ZenModel :: Module SiteError :: Class SiteError |
|
Method Summary | |
---|---|
Strip protocol and domain from the url (Class method) | |
Create the smnp header for an error email (Class method) | |
Produce a summary of the given error details suitable for use in an error email (inHtml=false) or on a page (inHtml=true) (Class method) | |
Attempt to send an email to the zenoss errors email address with details of this error. (Class method) |
Class Variable Summary | |
---|---|
str |
ERRORS_ADDRESS = 'errors@zenoss.com'
|
str |
SMTP_HOST = 'mail.zenoss.com'
|
Class Method Details |
---|
cleanUrl(cls, errorUrl)Strip protocol and domain from the url |
createEmailHeader(cls, fromAddress, toAddress, subject)Create the smnp header for an error email |
createReport(cls, errorType, errorValue, errorTrace, errorUrl, revision, versionShort, inHtml=True, contactName=None, contactEmail=None, comments=None)Produce a summary of the given error details suitable for use in an error email (inHtml=false) or on a page (inHtml=true) |
sendErrorEmail(cls, errorType, errorValue, errorTrace, errorUrl, revision, versionShort, contactName=None, contactEmail=None, comments=None)Attempt to send an email to the zenoss errors email address with details of this error. Returns true if mail was sent, false otherwise. |
Class Variable Details |
---|
ERRORS_ADDRESS
|
SMTP_HOST
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Thu Aug 16 09:55:10 2007 | http://epydoc.sf.net |