Class: SeatUnavailableError
Class: SeatUnavailableError in @ticketlayer/live.
@ticketlayer/live / index / SeatUnavailableError
Defined in: seating.ts:687
409 SEAT_UNAVAILABLE: a stale bit, and the seats that are free instead.
Extends#
Constructors#
Constructor#
new SeatUnavailableError(
message: string,
status: number,
details: Record<string, unknown>,
extra?: {
moreInfo?: string;
requestId?: string;
}
): SeatUnavailableError;Defined in: seating.ts:690
Parameters#
| Parameter | Type |
|---|---|
message | string |
status | number |
details | Record<string, unknown> |
extra? | { moreInfo?: string; requestId?: string; } |
extra.moreInfo? | string |
extra.requestId? | string |
Returns#
SeatUnavailableError
Overrides#
SeatReservationError.constructor
Properties#
alternatives#
readonly alternatives: number[][];Defined in: seating.ts:689
code#
readonly code: string;Defined in: client.ts:232
Inherited from#
data?#
readonly optional data?: Record<string, unknown>;Defined in: client.ts:223
The fields the error envelope carries beyond message, code and
moreInfo (for example state on STORED_VALUE_NOT_ACTIVE). Absent when
the envelope has none.
Inherited from#
details#
readonly details: LiveAPIErrorDetails;Defined in: client.ts:217
What the refusal said beside its message and code: alternatives on
SEAT_UNAVAILABLE, suggestion and strands on SINGLE_SEAT_GAP,
planVersion on PLAN_VERSION_CHANGED, and any other field of the error
envelope or its error.details. Empty when it said nothing more.
Inherited from#
moreInfo?#
readonly optional moreInfo?: string;Defined in: client.ts:204
The reference page for this error code, carrying the request id:
<docs>/error/<CODE>?request=<requestId>. Backstage puts one in every
error envelope (error.moreInfo) and Live passes the envelope through,
so a commerce failure has one; it is absent for a failure Live or this
client minted itself (the queue, a rate limit, an expired cart).
Inherited from#
requestId?#
readonly optional requestId?: string;Defined in: client.ts:210
The request id stamped on this request (metadata.requestId, also
echoed as x-request-id). Quote it to support: one id traces the
storefront, Live and Backstage.
Inherited from#
SeatReservationError.requestId
retryAfter?#
readonly optional retryAfter?: number;Defined in: client.ts:228
Seconds to wait before retrying, from a 429's Retry-After header
(delta-seconds, or an HTTP date turned into seconds from now).
Inherited from#
SeatReservationError.retryAfter
status#
readonly status: number;Defined in: client.ts:233
Inherited from#
unavailable#
readonly unavailable: number[];Defined in: seating.ts:688