Skip to content
Docs
Reference

Class: SingleSeatGapError

Class: SingleSeatGapError in @ticketlayer/live.

@ticketlayer/live


@ticketlayer/live / index / SingleSeatGapError

Defined in: seating.ts:699

409 SINGLE_SEAT_GAP: the request would strand a seat; the shifted request that would not.

Extends#

Constructors#

Constructor#

new SingleSeatGapError(
   message: string, 
   status: number, 
   details: Record<string, unknown>, 
   extra?: {
  moreInfo?: string;
  requestId?: string;
}
): SingleSeatGapError;

Defined in: seating.ts:702

Parameters#

ParameterType
messagestring
statusnumber
detailsRecord<string, unknown>
extra?{ moreInfo?: string; requestId?: string; }
extra.moreInfo?string
extra.requestId?string

Returns#

SingleSeatGapError

Overrides#

SeatReservationError.constructor

Properties#

code#

readonly code: string;

Defined in: client.ts:232

Inherited from#

SeatReservationError.code


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#

SeatReservationError.data


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#

SeatReservationError.details


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#

SeatReservationError.moreInfo


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#

SeatReservationError.status


strands#

readonly strands: number[];

Defined in: seating.ts:700


suggestion#

readonly suggestion: number[] | null;

Defined in: seating.ts:701