fix DisposeError, DisposedError, and DisposingError not having a message

This commit is contained in:
Hazelnoot 2025-11-11 20:15:58 -05:00
parent 05414ce0b9
commit 49ac63db1c

View file

@ -13,7 +13,7 @@ export abstract class DisposeError extends Error {
public readonly source: string | undefined;
protected constructor(opts?: { source?: string, message?: string }) {
super();
super(opts?.message);
this.source = opts?.source;
}
}