class documentation

class twisted.protocols.amp.TooLong(AmpError): (source)

View In Hierarchy

One of the protocol's length limitations was violated.

Instance Variable isKey true if the string being encoded in a key position, false if it was in a value position.
Instance Variable isLocal 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 value The string that was too long.
Instance Variable keyName If the string being encoded was in a value position, what key was it being encoded for?
Method __init__ Undocumented
Method __repr__ Undocumented
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.)
value = (source)
The string that was too long.
keyName = (source)
If the string being encoded was in a value position, what key was it being encoded for?
def __init__(self, isKey, isLocal, value, keyName=None): (source)

Undocumented

def __repr__(self): (source)

Undocumented

ReturnsUndocumented (type: str)
API Documentation for Twisted, generated by pydoctor 20.12.1 at 2021-02-28 19:53:36.