Skip to content
Client
Server

Reference / @open-music-sdk/core / tValidationIssue

Interface: tValidationIssue ​

Defined in: packages/core/src/errors.ts:17

A Standard Schema issue, as any validator reports it.

Properties ​

message ​

ts
readonly message: string;

Defined in: packages/core/src/errors.ts:19

What is wrong, in the validator's words.


path? ​

ts
readonly optional path?: readonly (
  | PropertyKey
  | {
  key: PropertyKey;
})[];

Defined in: packages/core/src/errors.ts:21

Where in the value it is wrong, from the top down; left out for the value as a whole. A step is a key, or an object holding one.

MIT licensed. Not affiliated with, endorsed by, or sponsored by Apple Inc. Apple Music and MusicKit are trademarks of Apple Inc.