Skip to content

DataError

Defined in: packages/core/src/encode.ts:23

Data a view cannot draw truthfully: duplicate item ids, a weight that is not positive, a reserved or duplicated category id, an encoding naming no dimension, or lightness on an unordered dimension. encodeProfile throws it.

  • Error

new DataError(message?): DataError

Defined in: site/node_modules/typescript/lib/lib.es5.d.ts:1082

string

DataError

Error.constructor

new DataError(message?, options?): DataError

Defined in: site/node_modules/typescript/lib/lib.es5.d.ts:1082

string

ErrorOptions

DataError

Error.constructor

optional cause?: unknown

Defined in: site/node_modules/typescript/lib/lib.es2022.error.d.ts:26

Error.cause


message: string

Defined in: site/node_modules/typescript/lib/lib.es5.d.ts:1077

Error.message


name: string = "DataError"

Defined in: packages/core/src/encode.ts:24

Error.name


optional stack?: string

Defined in: site/node_modules/typescript/lib/lib.es5.d.ts:1078

Error.stack