API reference › @evolu/common › Type › ObjectPropertyAccessError

Defined in: packages/common/src/Type.ts:17037

An error returned when a present object property is not represented as an enumerable data property.

ObjectPropertyAccess is reserved for this structural failure. Property Types must use another error tag.

Extends

Properties

reason

readonly reason: "Accessor" | "NonEnumerable";

Defined in: packages/common/src/Type.ts:17038


type

readonly type: "ObjectPropertyAccess";

Defined in: packages/common/src/Type.ts:1005

Inherited from

TypeError.type