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

Function TooFewArgError

eval/eval.go:131–133  ·  view source on GitHub ↗

TooFewArgError records a too few arguments error. It is used by DSL functions that take dynamic arguments.

()

Source from the content-addressed store, hash-verified

129// TooFewArgError records a too few arguments error. It is used by DSL
130// functions that take dynamic arguments.
131func TooFewArgError() {
132 ReportError("too few arguments given to %s", caller())
133}
134
135// TooManyArgError records a too many arguments error. It is used by DSL
136// functions that take dynamic arguments.

Callers 6

BodyFunction · 0.92
OneOfFunction · 0.92
ExampleFunction · 0.92
ErrorNameFunction · 0.92
grpcErrorFunction · 0.92
httpOrJSONRPCErrorFunction · 0.92

Calls 2

ReportErrorFunction · 0.85
callerFunction · 0.85

Tested by

no test coverage detected