mirror of
https://github.com/gchq/CyberChef
synced 2026-01-07 11:03:18 +00:00
ESM: Fixed OperationError detection and tidied up ops.
This commit is contained in:
@@ -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