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.
1 parent 04bc62a commit 0e78087Copy full SHA for 0e78087
src/AbstractError.ts
@@ -39,9 +39,8 @@ class AbstractError<T = void> extends CustomError {
39
} = {},
40
) {
41
super(message);
42
- this.timestamp = options.timestamp ?? new Date(
43
- performance.timeOrigin + performance.now()
44
- );
+ this.timestamp =
+ options.timestamp ?? new Date(performance.timeOrigin + performance.now());
45
this.data = options.data ?? {};
46
this.cause = options.cause as T;
47
}
0 commit comments