Class RelistOnOpenSeaError

Thrown by relistOrdersOnOpenSea when the GONDI API refuses the whole call for a reason the caller can act on, named by reason. Nothing was listed again and no GONDI ask changed. orderIds holds the refused orders for NOT_FAILED, and is empty otherwise. cause is the API's own error.

Hierarchy

  • Error
    • RelistOnOpenSeaError

Constructors

Methods

Properties

Constructors

Methods

  • The typed error for a refusal of the re-list mutation, or error itself when it is anything else.

    IMPLEMENTATION NOTE: the GONDI API reports a refusal as a GraphQL error carrying only a message, which the API client rethrows with that message in its own. So a refusal is recognised by its wording, and one the API words differently is rethrown unchanged.

    Parameters

    • error: unknown

    Returns unknown

Properties

orderIds: number[]