class documentation

class TooLong(AmpError): (source)

View In Hierarchy

One of the protocol's length limitations was violated.
Method __init__ Undocumented
Method __repr__ Undocumented
Instance Variable is​Key true if the string being encoded in a key position, false if it was in a value position.
Instance Variable is​Local Was the string encoded locally, or received too long from the network? (It's only physically possible to encode "too long" values on the network for keys.)
Instance Variable key​Name If the string being encoded was in a value position, what key was it being encoded for?
Instance Variable value The string that was too long.
def __init__(self, isKey, isLocal, value, keyName=None): (source)

Undocumented

def __repr__(self): (source)

Undocumented

Returns
strUndocumented
isKey = (source)
true if the string being encoded in a key position, false if it was in a value position.
isLocal = (source)
Was the string encoded locally, or received too long from the network? (It's only physically possible to encode "too long" values on the network for keys.)
keyName = (source)
If the string being encoded was in a value position, what key was it being encoded for?
value = (source)
The string that was too long.