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

Method validateError

jsonrpc/integration_tests/framework/executor.go:555–562  ·  view source on GitHub ↗
(t *testing.T, _ error, _ *ExpectError)

Source from the content-addressed store, hash-verified

553}
554
555func (e *executor) validateError(t *testing.T, _ error, _ *ExpectError) {
556 t.Helper()
557
558 // For CLI errors, we need to extract the error details
559 // This is a simplified version - real implementation would parse the error
560
561 // TODO: Parse error and validate code/message
562}
563
564func (e *executor) validateErrorObject(t *testing.T, errObj map[string]any, expect *ExpectError) {
565 t.Helper()

Callers 1

executeHTTPMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected