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

Function AbortedErr

unierr/error.go:240–242  ·  view source on GitHub ↗

AbortedErr creates an Error with codes.Aborted

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

Source from the content-addressed store, hash-verified

238
239// AbortedErr creates an Error with codes.Aborted
240func AbortedErr(e error, msgAndArgs ...interface{}) *Error {
241 return err(codes.Aborted, e, msgAndArgs...)
242}
243
244// IsAbortedErr checks if an Error has codes.Aborted
245func IsAbortedErr(e error) bool {

Callers

nothing calls this directly

Calls 1

errFunction · 0.85

Tested by

no test coverage detected