Skip to main content

Function: getModelNotRegisteredErrorMessage()

function getModelNotRegisteredErrorMessage(name): string;

Builds a helpful error message when a model type cannot be resolved from the runtime registry.

Parameters​

ParameterTypeDescription
namestringThe model type name (from $modelType).

Returns​

string

A diagnostic message with common remediation steps.