webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | List of all members
htmltmpl.TemplateError Class Reference
Inheritance diagram for htmltmpl.TemplateError:

Public Member Functions

def __init__ (self, error)
 

Detailed Description

Fatal exception. Raised on runtime or template syntax errors.

    This exception is raised when a runtime error occurs or when a syntax
    error in the template is found. It has one parameter which always
    is a string containing a description of the error.

    All potential IOError exceptions are handled by the module and are
    converted to TemplateError exceptions. That means you should catch the
    TemplateError exception if there is a possibility that for example
    the template file will not be accesssible.

    The exception can be raised by constructors or by any method of any
    class.
    
    The instance is no longer usable when this exception is raised. 

Constructor & Destructor Documentation

◆ __init__()

def htmltmpl.TemplateError.__init__ (   self,
  error 
)
Constructor.
    @hidden

The documentation for this class was generated from the following file: