The Savant Template System for PHPThe simple, elegant, and powerful alternative to Smarty. |
| Savant2 (2.4.3) | Documentation | Contributed Classes | Other Information |
| Documentation | Getting Started | API Reference | Template Plugins | Output Filters | Error Handlers | Markup Compilers |
|
Please help support Savant; you can donate, or click on a sponsor.
|
Error HandlersIf you have not done so already, be sure to read the "Getting Started" section on checking for errors. Savant2 uses its own minimalist error class called Savant2_Error, and reports and returns all errors with this class. However, if you want to, you can "add on" to the default error handling behavior by using the setError() method with one of these classes:
The benefit of using a custom error handler is that you can make errors reported by Savant2 fit in to any error reporting framework.
This site powered by YaWiki 0.22 beta. Copyright © 2003-2010, Paul M. Jones.
New comments are disabled. |
|