Skip to content

Commit a29e683

Browse files
authored
Added name to MatchMakeError
1 parent 91965cb commit a29e683

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Client.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ export class MatchMakeError extends Error {
1313
constructor(message: string, code: number) {
1414
super(message);
1515
this.code = code;
16+
this.name = "MatchMakeError";
1617
Object.setPrototypeOf(this, MatchMakeError.prototype);
1718
}
1819
}

0 commit comments

Comments
 (0)