API reference@evolu/commonlocal‑first/Evolu › AppNameError

Defined in: packages/common/src/local-first/Evolu.ts:308

A plain structured error produced by a Type operation.

It is a domain value discriminated by type, not an instance of JavaScript's global TypeError.

Each distinct error meaning and shape should use a unique type. Reuse a tag only when it intentionally represents the same error contract. Accidental reuse prevents reliable discriminated-union narrowing.

Extends

Properties

type

readonly type: "AppName";

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

Inherited from

TypeError.type


value

readonly value: string & Brand<"UrlSafeString">;

Defined in: packages/common/src/local-first/Evolu.ts:309