MCPcopy
hub / github.com/ajaxorg/ace / failure

Function failure

src/keyboard/vim_test.js:126–131  ·  view source on GitHub ↗
(message, root)

Source from the content-addressed store, hash-verified

124 if (!a) throw failure("Expected " + a + " to be truthy", is);
125}
126function failure(message, root) {
127 var error = new Error(message);
128 if (Error.captureStackTrace)
129 Error.captureStackTrace(error, root);
130 return error;
131}
132
133var Pos = CodeMirror.Pos;
134CodeMirror.Vim.suppressErrorLogging = true;

Callers 3

eqCursorPosFunction · 0.85
eqFunction · 0.85
isFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…