Skip to content

UntypedValueError

Defined in: src/attr/errors.ts:29

A bare JavaScript value could not be given a type. Raised when an attribute or predicate is handed something that is neither a tagged value nor one of the four bare forms (boolean, number, bigint, string).

  • Error

new UntypedValueError(input): UntypedValueError

Defined in: src/attr/errors.ts:32

unknown

UntypedValueError

Error.constructor

readonly input: unknown

Defined in: src/attr/errors.ts:30