| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
exceptions.BaseException --+
|
exceptions.Exception --+
|
ParseBaseException --+
|
ParseException
Exception thrown when parse expressions don't match class; supported attributes by name are:
Example:
try:
Word(nums).setName("integer").parseString("ABC")
except ParseException as pe:
print(pe)
print("column: {}".format(pe.col))
prints:
Expected integer (at char 0), (line:1, col:1) column: 1
| Instance Methods | |
|
Inherited from Inherited from Inherited from Inherited from |
| Properties | |
|
Inherited from Inherited from |
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Sun Aug 14 16:58:53 2016 | http://epydoc.sourceforge.net |