Back to index

enigmail  1.4.3
Public Member Functions | Public Attributes
Expression.Expression.ParseError Class Reference

List of all members.

Public Member Functions

def __init__
def __str__

Public Attributes


Detailed Description

Error raised when parsing fails.
It has two members, offset and content, which give the offset of the
error and the offending content.

Definition at line 180 of file

Constructor & Destructor Documentation

def Expression.Expression.ParseError.__init__ (   self,

Definition at line 186 of file

00187     def __init__(self, expression):
00188       self.offset = expression.offset
      self.content = expression.content[:3]

Member Function Documentation

Definition at line 189 of file

00190     def __str__(self):
00191       return 'Unexpected content at offset %i, "%s"'%(self.offset, self.content)

Member Data Documentation

Definition at line 188 of file

Definition at line 187 of file

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