def __init__(self, filename, text, offset, ex): DecodeError.__init__(self, ex.entry) self._filename = filename self._text = text self._offset = offset self.error = ex
def __init__(self, seq, expected, actual): DecodeError.__init__(self, seq) self.sequenceof = seq self.expected = expected self.actual = actual
def __init__(self, entry, actual, comparison, limit): DecodeError.__init__(self, entry) self._comparision = comparison self._expected = limit self._actual = actual
def __init__(self, entry, child, name): DecodeError.__init__(self, entry) self.child = child self.name = name
def __init__(self, entry, value): DecodeError.__init__(self, entry) self.value = value
def __init__(self, entry, expr, reason): DecodeError.__init__(self, entry) self.expr = expr self.reason = reason
def __init__(self, entry, loop): DecodeError.__init__(self, entry) self._loop = loop