MCPcopy Create free account
hub / github.com/DoNewsCode/core / InternalErr

Function InternalErr

unierr/error.go:270–272  ·  view source on GitHub ↗

InternalErr creates an Error with codes.Internal

(e error, msgAndArgs ...interface{})

Source from the content-addressed store, hash-verified

268
269// InternalErr creates an Error with codes.Internal
270func InternalErr(e error, msgAndArgs ...interface{}) *Error {
271 return err(codes.Internal, e, msgAndArgs...)
272}
273
274// IsInternalErr checks if an Error has codes.Internal
275func IsInternalErr(e error) bool {

Callers

nothing calls this directly

Calls 1

errFunction · 0.85

Tested by

no test coverage detected