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

Function IncompatibleDSL

eval/eval.go:119–121  ·  view source on GitHub ↗

IncompatibleDSL should be called by DSL functions when they are invoked in an incorrect context (e.g. "Params" in "Service").

()

Source from the content-addressed store, hash-verified

117// IncompatibleDSL should be called by DSL functions when they are invoked in an
118// incorrect context (e.g. "Params" in "Service").
119func IncompatibleDSL() {
120 ReportError("invalid use of %s", caller())
121}
122
123// InvalidArgError records an invalid argument error. It is used by DSL
124// functions that take dynamic arguments.

Callers 15

ConvertToFunction · 0.92
CreateFromFunction · 0.92
MethodFunction · 0.92
DeprecatedFunction · 0.92
FilesFunction · 0.92
ServerFunction · 0.92
ServicesFunction · 0.92
HostFunction · 0.92
URIFunction · 0.92
VariableFunction · 0.92
APIFunction · 0.92
TitleFunction · 0.92

Calls 2

ReportErrorFunction · 0.85
callerFunction · 0.85

Tested by

no test coverage detected