@@ -31,14 +31,14 @@ method connect*(
3131 # # a protocol
3232 # #
3333
34- doAssert (false , " Not implemented!" )
34+ doAssert (false , " [Dial.connect] abstract method not implemented!" )
3535
3636method connect * (
3737 self: Dial , address: MultiAddress , allowUnknownPeerId = false
3838): Future [PeerId ] {.base , async : (raises: [DialFailedError , CancelledError ]).} =
3939 # # Connects to a peer and retrieve its PeerId
4040
41- doAssert (false , " Not implemented!" )
41+ doAssert (false , " [Dial.connect] abstract method not implemented!" )
4242
4343method dial * (
4444 self: Dial , peerId: PeerId , protos: seq [string ]
@@ -47,7 +47,7 @@ method dial*(
4747 # # existing connection
4848 # #
4949
50- doAssert (false , " Not implemented!" )
50+ doAssert (false , " [Dial.dial] abstract method not implemented!" )
5151
5252method dial * (
5353 self: Dial ,
@@ -60,14 +60,14 @@ method dial*(
6060 # # a connection if one doesn't exist already
6161 # #
6262
63- doAssert (false , " Not implemented!" )
63+ doAssert (false , " [Dial.dial] abstract method not implemented!" )
6464
6565method addTransport * (self: Dial , transport: Transport ) {.base .} =
66- doAssert (false , " Not implemented!" )
66+ doAssert (false , " [Dial.addTransport] abstract method not implemented!" )
6767
6868method tryDial * (
6969 self: Dial , peerId: PeerId , addrs: seq [MultiAddress ]
7070): Future [Opt [MultiAddress ]] {.
7171 base , async : (raises: [DialFailedError , CancelledError ])
7272.} =
73- doAssert (false , " Not implemented!" )
73+ doAssert (false , " [Dial.tryDial] abstract method not implemented!" )
0 commit comments