Skip to content
Client
Server

Reference / @open-music-sdk/types / tError

Interface: tError ​

Defined in: error.ts:4

Information about an error that occurred while processing a request.

Properties ​

code ​

ts
code: string;

Defined in: error.ts:6

The code for this error. For possible values, see .


detail? ​

ts
optional detail?: string;

Defined in: error.ts:8

A long, possibly localized, description of the problem.


id ​

ts
id: string;

Defined in: error.ts:10

A unique identifier for this occurrence of the error.


source? ​

ts
optional source?: tErrorSource;

Defined in: error.ts:12

An object containing references to the source of the error. For possible members, see Source object.


status ​

ts
status: string;

Defined in: error.ts:14

The HTTP status code for this problem.


title ​

ts
title: string;

Defined in: error.ts:16

A short, possibly localized, description of the problem.

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