IdentifyProtocolException class

Exception thrown when identify protocol returns invalid/malformed data.

This is a potential security concern - the peer may be sending corrupted or malicious identify data.

Inheritance

Constructors

IdentifyProtocolException({PeerId? peerId, required String message, Object? cause})

Properties

cause Object?
The underlying cause of the failure (if any).
finalinherited
hashCode int
The hash code for this object.
no setterinherited
message String
A descriptive message about the failure.
finalinherited
peerId PeerId?
The peer ID for which identification failed (if known).
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited