@mywebapi.com/sdk - v0.3.5
    Preparing search index...

    Function isOutcomeUnknown

    • True when the server reports that the operation may still be applied, or that a request with the same Idempotency-Key is still running. Do not repeat it blindly: repeat it with the same Idempotency-Key (the server then returns the original result once it exists and never executes it twice), or check the resulting state first.

      ! A client-side deadline abort or a network error on a POST/PATCH is equally uncertain, but it is not an ApiError, so this function returns false for it.

      Parameters

      • error: unknown

      Returns error is ApiError