MCPcopy Create free account
hub / github.com/denoland/std / dispatchWarning

Method dispatchWarning

yaml/_loader_state.ts:296–299  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

294 }
295
296 dispatchWarning(message: string) {
297 const error = this.#createError(message);
298 this.onWarning?.(error);
299 }
300
301 yamlDirectiveHandler(args: string[]): string | null {
302 if (args.length !== 1) {

Callers 4

yamlDirectiveHandlerMethod · 0.95
skipSeparationSpaceMethod · 0.95
readDirectivesMethod · 0.95
readDocumentMethod · 0.95

Calls 2

#createErrorMethod · 0.95
onWarningMethod · 0.65

Tested by

no test coverage detected