UNPKG

@nestjs/graphql

Version:

Nest - modern, fast, powerful node.js web framework (@graphql)

6 lines (5 loc) 432 B
export class DefaultValuesConflictError extends Error { constructor(hostTypeName, fieldName, decoratorDefaultVal, initializerDefaultVal) { super(`Error caused by mis-matched default values for the "${fieldName}" field of "${hostTypeName}". The default value from the decorator "${decoratorDefaultVal}" is not equal to the property initializer value "${initializerDefaultVal}". Ensure that these values match.`); } }