Skip to content

Type definitions for error value are unknown #483

@BenJenkinson

Description

@BenJenkinson

According to the docs, the error value returned by all of the hooks (useQuery, usePaginatedQuery, useInfiniteQuery, useMutation etc..) can either be null or Error.

The type definitions mostly define it as unknown or unknown | null

This should probably be considered with issue #475 since that issue suggests that the return value in the docs may be incorrect.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions