Skip to content

Commit aa6d837

Browse files
committed
Updated constants.js with serializableErrorProps
1 parent 2c15995 commit aa6d837

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

lib/core/constants.js

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,15 @@ const constants = {
4444
timeout: 10000
4545
}),
4646
allOrigins: '<unsafe_all_origins>',
47-
sameOrigin: '<same_origin>'
47+
sameOrigin: '<same_origin>',
48+
serializableErrorProps: Object.freeze([
49+
'message',
50+
'stack',
51+
'name',
52+
'code',
53+
'ruleId',
54+
'method'
55+
])
4856
};
4957

5058
definitions.forEach(definition => {

0 commit comments

Comments
 (0)