Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/grpc-ecosystem/grpc-gateway
/ emitError
Function
emitError
protoc-gen-openapiv2/main.go:257–259 ·
view source on GitHub ↗
(err error)
Source
from the content-addressed store, hash-verified
255
}
256
257
func
emitError(err error) {
258
emitResp(&pluginpb.CodeGeneratorResponse{Error: proto.String(err.Error())})
259
}
260
261
func
emitResp(resp *pluginpb.CodeGeneratorResponse) {
262
buf, err := proto.Marshal(resp)
Callers
1
main
Function · 0.85
Calls
3
emitResp
Function · 0.85
String
Method · 0.45
Error
Method · 0.45
Tested by
no test coverage detected