MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / addError

Function addError

console/src/platform/shell/machines/webSocketFsm.ts:101–109  ·  view source on GitHub ↗
({
  latestCommandOutput,
  error,
}: {
  latestCommandOutput: CommandOutput;
  error: Error;
})

Source from the content-addressed store, hash-verified

99}
100
101function addError({
102 latestCommandOutput,
103 error,
104}: {
105 latestCommandOutput: CommandOutput;
106 error: Error;
107}) {
108 latestCommandOutput.error = error;
109}
110
111function getLatestCommandResult(latestCommandOutput?: CommandOutput) {
112 assert(latestCommandOutput);

Callers 1

webSocketFsm.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected