PeerIdMismatchException class
Exception thrown when a dial reaches a different peer than the one dialed: the security handshake authenticated actual, not expected (go-libp2p's "peer id mismatch"). The connection is closed.
- Implemented types
Constructors
- PeerIdMismatchException({required String expected, required String actual})
-
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited