Skip to content
Docs
Reference

Interface: LiveAPIErrorDetails

Interface: LiveAPIErrorDetails in @ticketlayer/live.

@ticketlayer/live


@ticketlayer/live / index / LiveAPIErrorDetails

Defined in: client.ts:176

What a refusal said beside its message and code: every other field of the JSend error envelope's error, with the fields of error.details (when the API nests them there) merged over them. The seat refusals are typed; any other code's fields are carried as they came.

Indexable#

[field: string]: unknown

Properties#

alternatives?#

optional alternatives?: number[][];

Defined in: client.ts:180

409 SEAT_UNAVAILABLE: same-size blocks of seats (by index) that can, best first.


held?#

optional held?: number;

Defined in: client.ts:190

422 SEAT_LIMIT: the seats this cart already holds for the occurrence.


maxTickets?#

optional maxTickets?: number;

Defined in: client.ts:188

422 SEAT_LIMIT: the channel's most seats per cart per occurrence.


planVersion?#

optional planVersion?: string;

Defined in: client.ts:186

409 PLAN_VERSION_CHANGED: the publish key (pv) of the seat map the occurrence sells from now.


retryAfter?#

optional retryAfter?: number;

Defined in: client.ts:192

429: seconds to wait before trying again.


strands?#

optional strands?: number[];

Defined in: client.ts:182

409 SINGLE_SEAT_GAP: the seats (by index) the request would leave stranded.


suggestion?#

optional suggestion?: number[];

Defined in: client.ts:184

409 SINGLE_SEAT_GAP: the nearest same-size choice that strands none.


unavailable?#

optional unavailable?: number[];

Defined in: client.ts:178

409 SEAT_UNAVAILABLE: the seats (by index) that cannot be had.