We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 96be59c + a29e683 commit ffe5d13Copy full SHA for ffe5d13
src/Client.ts
@@ -13,6 +13,7 @@ export class MatchMakeError extends Error {
13
constructor(message: string, code: number) {
14
super(message);
15
this.code = code;
16
+ this.name = "MatchMakeError";
17
Object.setPrototypeOf(this, MatchMakeError.prototype);
18
}
19
src/index.ts
@@ -1,6 +1,6 @@
1
import './legacy';
2
3
-export { Client, JoinOptions } from './Client';
+export { Client, JoinOptions, MatchMakeError } from './Client';
4
export { Protocol, ErrorCode, SeatReservation } from './Protocol';
5
export { Room, RoomAvailable } from './Room';
6
export { Auth, type AuthSettings, type PopupSettings } from "./Auth";
0 commit comments