
The WebErrorHandler class provides error handling, exception parsing, display and logging of errors. As such this method can be used as a worker method from global.asax's Application_Error and can provide just about all of the ErrorLog management features for logging, display and clearing the log.
Although this class lacks email support it is easy to provide this with the wwIPStuff.wwSMTP class and by using the ToString() method to retrieve the error message for the message body. In the Web Store the WebStoreUtils.SendAdminEmail method handles this operation more cleanly by pulling the admin information from the store's configuration.
Namespace: Westwind.Tools
Assembly: wwutils.dll
Inherits: Object
Dependencies:
wwIPStuff for SendEmail method
WebRequestLog for SQL Logging
Class Members
© West Wind Technologies, 1996-2018 • Updated: 11/29/03
Comment or report problem with topic