MCPcopy Create free account
hub / github.com/Dart-Code/Dart-Code / errorAsDisplayValue

Function errorAsDisplayValue

src/debug/dart_debug_impl.ts:1043–1046  ·  view source on GitHub ↗
(error: any)

Source from the content-addressed store, hash-verified

1041 }
1042
1043 private errorAsDisplayValue(error: any) {
1044 const message = errorString(error);
1045 return `<${message.split("\n")[0].trim()}>`;
1046 }
1047
1048 private async getGetterNamesForHierarchy(thread: VMIsolateRef, classRef: VMClassRef | undefined): Promise<string[]> {
1049 let getterNames: string[] = [];

Callers

nothing calls this directly

Calls 1

errorStringFunction · 0.90

Tested by

no test coverage detected