twisted.protocols.amp.RemoteAmpError(AmpError)
class documentationtwisted.protocols.amp
View Source
(View In Hierarchy)
Known subclasses: twisted.protocols.amp.UnknownRemoteError
This error indicates that something went wrong on the remote end of the connection, and the error was serialized and transmitted to you.
Method | __init__ | Create a remote error with an error code and description. |
Create a remote error with an error code and description.
Parameters | errorCode | the AMP error code of this error. (type: bytes ) |
description | some text to show to the user. (type: str ) | |
fatal | a boolean, true if this error should terminate the connection. | |
local | a local Failure, if one exists. |