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

    Interface QueryResult<TData>

    interface QueryResult<TData = unknown> {
        data: TData | undefined;
        error?: ErrorLike;
    }

    Type Parameters

    • TData = unknown
    Index

    Properties

    Properties

    data: TData | undefined

    An object containing the result of your GraphQL query after it completes.

    This value might be undefined if a query results in one or more errors (depending on the query's errorPolicy).

    1. Operation data
    error?: ErrorLike

    A single ErrorLike object describing the error that occurred during the latest query execution.

    For more information, see Handling operation errors.

    1. Operation data