Test and fix failed IK handshakes

This commit is contained in:
Belma Gutlic
2020-01-15 17:27:32 +01:00
parent 93f33028b4
commit 33708db8b8
7 changed files with 106 additions and 22 deletions

11
src/errors.ts Normal file
View File

@ -0,0 +1,11 @@
export class FailedIKError extends Error {
public initialMsg;
constructor(initialMsg, message?: string) {
super(message);
this.initialMsg = initialMsg;
this.name = "FailedIKhandshake";
this.stack = new Error().stack;
}
};