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 0f18f13 commit 61b67ecCopy full SHA for 61b67ec
lib/events.js
@@ -99,7 +99,7 @@ api.unhandledEventHandler = function({event}) {
99
// throw with event details
100
api.throwUnacceptableEventHandler = function({event}) {
101
throw new JsonLdError(
102
- event.message,
+ 'Unacceptable event occurred.',
103
'jsonld.UnacceptableEvent',
104
{event});
105
};
@@ -120,7 +120,7 @@ api.strictModeEventHandler = [
120
// fail on all warnings
121
if(event.level === 'warning') {
122
123
+ 'Strict mode violation occurred.',
124
'jsonld.StrictModeViolationEvent',
125
126
}
0 commit comments