class documentation

class RaiseOnErrorTokenFilter(Filter):

View In Hierarchy

Raise an exception when the lexer generates an error token.

Options accepted:

excclass : Exception class
The exception class to raise. The default is pygments.filters.ErrorToken.
New in version 0.8.
Method __init__ Undocumented
Method filter Undocumented
Instance Variable exception Undocumented

Inherited from Filter:

Instance Variable options Undocumented
def __init__(self, **options):

Undocumented

def filter(self, lexer, stream):

Undocumented

exception =

Undocumented