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 d029299 commit 20644f4Copy full SHA for 20644f4
lib/context.js
@@ -530,8 +530,8 @@ api.createTermDefinition = ({
530
if((type === '@json' || type === '@none')) {
531
if(api.processingMode(activeCtx, 1.0)) {
532
throw new JsonLdError(
533
- 'Invalid JSON-LD syntax; an @context @type value not be ' +
534
- '#{type} in JSON-LD 1.0 mode.',
+ 'Invalid JSON-LD syntax; an @context @type value must not be ' +
+ `"${type}" in JSON-LD 1.0 mode.`,
535
'jsonld.SyntaxError',
536
{code: 'invalid type mapping', context: localCtx});
537
}
0 commit comments