Skip to content

TooManyAttributesError

Defined in: src/schema/errors.ts:109

More attributes were supplied than an entity operation can carry — raised by defineSchema for a schema with more columns than one create could write.

  • Error

new TooManyAttributesError(count, max, tagged): TooManyAttributesError

Defined in: src/schema/errors.ts:114

number

number

boolean = false

Whether count includes a named schema’s tag, which the message then calls out: the tag is not among the declared columns, so the count would otherwise look off by one.

TooManyAttributesError

Error.constructor