@twilio/flex-sdk
    Preparing search index...

    Interface MutateResult<TData>

    interface MutateResult<TData = unknown> {
        data: TData | undefined;
        error?: ErrorLike;
        extensions?: Record<string, unknown>;
    }

    Type Parameters

    • TData = unknown
    Index

    Properties

    data: TData | undefined

    The data returned from your mutation. Can be undefined if the errorPolicy is all or ignore and the server returns a GraphQL response with errors but not data or a network error is returned.

    error?: ErrorLike

    If the mutation produces one or more errors, this object contains either an array of graphQLErrors or a single networkError. Otherwise, this value is undefined.

    For more information, see Handling operation errors.

    extensions?: Record<string, unknown>

    Custom extensions returned from the GraphQL server