MCPcopy Create free account
hub / github.com/dwgx/WindsurfAPI / errorStep

Function errorStep

test/native-read-wrapper.test.js:68–76  ·  view source on GitHub ↗
(message)

Source from the content-addressed store, hash-verified

66}
67
68function errorStep(message) {
69 const details = writeStringField(1, message);
70 const errorMessage = writeMessageField(3, details);
71 return Buffer.concat([
72 writeVarintField(1, 17),
73 writeVarintField(4, 3),
74 writeMessageField(24, errorMessage),
75 ]);
76}
77
78function trajectoryStepsResponse(...steps) {
79 return Buffer.concat(steps.map(step => writeMessageField(1, step)));

Callers 1

Calls 3

writeStringFieldFunction · 0.90
writeMessageFieldFunction · 0.90
writeVarintFieldFunction · 0.90

Tested by

no test coverage detected