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

actual → String
final
expected → String
final
hashCode → int
The hash code for this object.
no setterinherited
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.
override

Operators

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