ESM: Fixed OperationError detection and tidied up ops.
This commit is contained in:
1 parent
acb8a342a7
commit
b760c2f1a0
17 files changed
+2134
-2122
No files matched your search
@@ -15,6 +15,8 @@ class OperationError extends Error {
|
||||
constructor(...args) {
|
||||
super(...args);
|
||||
|
||||
this.type = "OperationError";
|
||||
|
||||
if (Error.captureStackTrace) {
|
||||
Error.captureStackTrace(this, OperationError);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user