class documentation

class RaiseOnErrorTokenFilter(Filter): (source)

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`. .. versionadded:: 0.8

Method __init__ Undocumented
Method filter Undocumented
Instance Variable exception Undocumented

Inherited from Filter:

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

Undocumented

def filter(self, lexer, stream): (source)

Undocumented

exception = (source)

Undocumented