MissingFieldsError
Sourceimport { MissingFieldsError } from "@prestojs/viewmodel";
Constructor
new MissingFieldsError(record,assignedFields,requestedFieldNames,missingFieldNames,missingRelations)
Arguments:
Argument | Type | Description | |
---|---|---|---|
* | record | ViewModelInterface | |
* | assignedFields | string[] | |
* | requestedFieldNames | string|string[][] | |
* | missingFieldNames | string[] | |
* | missingRelations | [string, string[]][] |