Skip to content
Meeko
Type to search the guides and the API reference. Open it from any page with / or Ctrl K; move with the arrow keys and open a result with Enter.
Get started

Contents

On this page

Not translated yet

This page has not been translated into English yet, so it is shown in Spanish.

MutationFailure

interfaz Since 1.2.0

Un intento que falló, tal como lo recibe onError.

ts
import type { MutationFailure } from "@meekojs/meeko/framework";

Source code src/app/runtime/mutations.ts:86

Declaración #

ts
interface MutationFailure<Input> extends MutationAttempt<Input> {
	readonly uncertain: boolean
}

Type parameters #

Input

Entrada de la mutación.

Example #

ts
import type { MutationFailure } from "@meekojs/meeko/framework";

const rejected = (failure: MutationFailure<unknown>): boolean => !failure.uncertain;

Propiedades #

uncertain #

propiedad sólo lectura

readonly uncertain: boolean

true si no hubo respuesta (fallo de red, 5xx, 408 o 429) y la intención se conserva para reintentarla; false si el servidor contestó. Sin retrySafe siempre es false.

See also #

Was this page helpful?

Add a comment

It is sent when you choose “Yes” or “No”. Only the page, your answer and the comment are stored: no cookies and no personal data.

0 of 2000 characters

Edit on GitHub: packages/meeko/src/app/runtime/mutations.ts