GaterDisallowedConnectionException class

Exception thrown when the connection gater (Config.connGater) rejects a dial or a connection (go-libp2p's ErrGaterDisallowedConnection). check names the gater method that said no. A connection, if one was made, is closed.

Implemented types

Constructors

GaterDisallowedConnectionException({String? peer, required String check})
const

Properties

check → String
final
hashCode → int
The hash code for this object.
no setterinherited
peer → String?
The remote peer, if known.
final
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