epydoc.markup.epytext.ColorizingError

Package epydoc :: Package markup :: Module epytext :: Class ColorizingError |
[show private | hide private]
[frames | no frames]

## Class ColorizingError

    Exception --+
                |
       ParseError --+
                    |
                   ColorizingError

An error generated while colorizing a paragraph.

Method Summary
| ``__init__`(self, descr, token, charnum, is_fatal)` Construct a new colorizing exception.
`string` | ``__str__`(self)` Return a string representation of this `ParseError`.
Inherited from `ParseError`: `__cmp__`, `__repr__`, `is_fatal`, `linenum`, `set_linenum_offset` Inherited from `Exception`: `__getitem__`

Class Variable Summary
`int` | `CONTEXT_RANGE` = 20

Method Details

### __init__(self, descr, token, charnum, is_fatal=1) (Constructor) Construct a new colorizing exception. Parameters: `descr` - A short description of the error. (type=`string`) `token` - The token where the error occured (type=`Token`) `charnum` - The character index of the position in `token` where the error occured. (type=`int`) Overrides: `epydoc.markup.ParseError.__init__`

### __str__(self) (Informal representation operator) Return a string representation of this `ParseError`. This multi-line string contains a description of the error, and specifies where it occured. Returns: the informal representation of this `ParseError`. (type=`string`) Overrides: `epydoc.markup.ParseError.__str__` (inherited documentation)

Class Variable Details

    ### CONTEXT_RANGE Type: `int` Value:
        20

Generated by Epydoc 2.1 on Sat Mar 20 17:46:18 2004 | http://epydoc.sf.net