MCPcopy Index your code
hub / github.com/InferCore/InferCore / New

Function New

internal/upstream/errors.go:24–26  ·  view source on GitHub ↗
(kind Kind, message string)

Source from the content-addressed store, hash-verified

22}
23
24func New(kind Kind, message string) *Error {
25 return &Error{Kind: kind, Message: message}
26}

Callers 15

InvokeMethod · 0.92
invokeNonStreamMethod · 0.92
invokeStreamMethod · 0.92
HealthMethod · 0.92
InvokeMethod · 0.92
HealthMethod · 0.92
InvokeMethod · 0.92
invokeNonStreamMethod · 0.92
invokeStreamMethod · 0.92
HealthMethod · 0.92
invokeNonStreamMethod · 0.92
invokeStreamMethod · 0.92

Calls

no outgoing calls

Tested by 4

InvokeMethod · 0.74
InvokeMethod · 0.74
TestError_ErrorStringFunction · 0.56
TestNewFunction · 0.56