Ejemplo n.º 1
0
 def __init__(self, filename, text, offset, ex):
     DecodeError.__init__(self, ex.entry)
     self._filename = filename
     self._text = text
     self._offset = offset
     self.error = ex
Ejemplo n.º 2
0
 def __init__(self, seq, expected, actual):
     DecodeError.__init__(self, seq)
     self.sequenceof = seq
     self.expected = expected
     self.actual = actual
Ejemplo n.º 3
0
 def __init__(self, entry, actual, comparison, limit):
     DecodeError.__init__(self, entry)
     self._comparision = comparison
     self._expected = limit
     self._actual = actual
Ejemplo n.º 4
0
 def __init__(self, entry, child, name):
     DecodeError.__init__(self, entry)
     self.child = child
     self.name = name
Ejemplo n.º 5
0
 def __init__(self, entry, value):
     DecodeError.__init__(self, entry)
     self.value = value
Ejemplo n.º 6
0
 def __init__(self, entry, expr, reason):
     DecodeError.__init__(self, entry)
     self.expr = expr
     self.reason = reason
Ejemplo n.º 7
0
 def __init__(self, entry, loop):
     DecodeError.__init__(self, entry)
     self._loop = loop