MCPcopy
hub / github.com/wavetermdev/waveterm / webErrorRtn

Function webErrorRtn

pkg/service/service.go:311–315  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

309}
310
311func webErrorRtn(err error) *WebReturnType {
312 return &WebReturnType{
313 Error: err.Error(),
314 }
315}
316
317func CallService(ctx context.Context, webCall WebCallType) *WebReturnType {
318 svcObj := ServiceMap[webCall.Service]

Callers 1

CallServiceFunction · 0.85

Calls 1

ErrorMethod · 0.45

Tested by

no test coverage detected