MCPcopy
hub / github.com/micro/go-micro / InternalServerError

Function InternalServerError

errors/errors.go:88–90  ·  view source on GitHub ↗

InternalServerError generates a 500 error.

(id, format string, a ...interface{})

Source from the content-addressed store, hash-verified

86
87// InternalServerError generates a 500 error.
88func InternalServerError(id, format string, a ...interface{}) error {
89 return newError(id, 500, format, a...)
90}
91
92// Equal tries to compare errors.
93func Equal(err1 error, err2 error) bool {

Callers 14

TestCallRetryFunction · 0.92
WriteMethod · 0.92
ReadHeaderMethod · 0.92
ReadBodyMethod · 0.92
CloseMethod · 0.92
nextMethod · 0.92
callMethod · 0.92
streamMethod · 0.92
CallMethod · 0.92
StreamMethod · 0.92
PublishMethod · 0.92
StreamMethod · 0.92

Calls 1

newErrorFunction · 0.85

Tested by 1

TestCallRetryFunction · 0.74

Used in the wild real call sites across dependent graphs

searching dependent graphs…