Skip to content

Add configuration validation & better error messages #14

@Emperor42

Description

@Emperor42

Shepherd.init only checks for three required fields. Enhance validation to:

Ensure visibleTagCount is a positive integer.
Verify tagSpacingPx is a non‑negative number.
Confirm each tag object has a non‑empty text string and a non‑empty keywords array.
Throw descriptive Errors (e.g., “Shepherd.init – tag[3] missing keywords”) so developers can debug quickly.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Scheduled

Relationships

None yet

Development

No branches or pull requests

Issue actions