fix DisposeError, DisposedError, and DisposingError not having a message
This commit is contained in:
parent
05414ce0b9
commit
49ac63db1c
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue