MCPcopy Create free account
hub / github.com/VSCodeVim/Vim / KeyNotPresentInDictionary

Method KeyNotPresentInDictionary

src/error.ts:334–339  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

332 return new VimError(ErrorCode.DictionaryRequired, 'Dictionary required');
333 }
334 static KeyNotPresentInDictionary(key: string): VimError {
335 return new VimError(
336 ErrorCode.KeyNotPresentInDictionary,
337 `Key not present in Dictionary: ${key}`,
338 );
339 }
340 static CannotUseSliceWithADictionary(): VimError {
341 return new VimError(
342 ErrorCode.CannotUseSliceWithADictionary,

Callers 3

expression.test.tsFile · 0.80
evaluateMethod · 0.80
evaluateIndexMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected