MCPcopy Create free account
hub / github.com/goadesign/goa / Error

Method Error

http/client.go:152–154  ·  view source on GitHub ↗

Error builds an error message.

()

Source from the content-addressed store, hash-verified

150
151// Error builds an error message.
152func (c ClientError) Error() string {
153 return fmt.Sprintf("[%s %s]: %s", c.Service, c.Method, c.Message)
154}
155
156// ErrInvalidType is the error returned when the wrong type is given to a
157// method function.

Callers 15

NewErrorResponseFunction · 0.45
ErrRequestErrorFunction · 0.45
TestUnsupportedDecoderFunction · 0.45
TestTextEncoder_EncodeFunction · 0.45
DebugFunction · 0.45
TestNewFunction · 0.45
TestMiddlewareFunction · 0.45
TestWrapDoerFunction · 0.45
TestRecordErrorFunction · 0.45
buildPayloadDataMethod · 0.45

Calls

no outgoing calls

Tested by 14

TestUnsupportedDecoderFunction · 0.36
TestTextEncoder_EncodeFunction · 0.36
TestNewFunction · 0.36
TestMiddlewareFunction · 0.36
TestWrapDoerFunction · 0.36
TestRecordErrorFunction · 0.36
TestBuildOperationFunction · 0.36
TestBuildOperationIDFunction · 0.36
matchesRequestBodyFunction · 0.36
matchesResponseFunction · 0.36