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

Method dispatchWarning

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

Source from the content-addressed store, hash-verified

283 }
284
285 dispatchWarning(message: string) {
286 const error = this.#createError(message);
287 this.onWarning?.(error);
288 }
289
290 yamlDirectiveHandler(args: string[]): string | null {
291 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