mirror of
https://github.com/fluencelabs/js-libp2p-noise
synced 2025-06-12 03:01:27 +00:00
11 lines
210 B
TypeScript
11 lines
210 B
TypeScript
![]() |
export class FailedIKError extends Error {
|
||
|
public initialMsg;
|
||
|
|
||
|
constructor(initialMsg, message?: string) {
|
||
|
super(message);
|
||
|
|
||
|
this.initialMsg = initialMsg;
|
||
|
this.name = "FailedIKhandshake";
|
||
|
}
|
||
|
};
|