MCPcopy Create free account
hub / github.com/GNOME/gjs / error

Function error

modules/script/jsUnit.js:50–52  ·  view source on GitHub ↗
(errorMessage)

Source from the content-addressed store, hash-verified

48}
49
50function error(errorMessage) {
51 throw new Error(errorMessage);
52}
53
54function argumentsIncludeComments(expectedNumberOfNonCommentArgs, args) {
55 return args.length == expectedNumberOfNonCommentArgs + 1;

Callers 5

_validateArgumentsFunction · 0.85
assertFunction · 0.85
assertTrueFunction · 0.85
assertFalseFunction · 0.85
assertRaisesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected