Skip to content

use/loadingError

Type Aliases

LoadingErrorFunctions

LoadingErrorFunctions = LoadingFunctions & ErrorFunctions

The combined loading and error state actions contributed by the useLoadingError composable.

Type Parameters


LoadingErrorProperties

LoadingErrorProperties = LoadingProperties & ErrorProperties

The combined reactive loading and error state members contributed by the useLoadingError composable.

Type Parameters


LoadingErrorStatus

LoadingErrorStatus = LoadingErrorProperties & LoadingErrorFunctions

The combined loading and error state API (properties plus actions) returned by useLoadingError.

Type Parameters

Functions

useLoadingError()

useLoadingError(): LoadingErrorStatus

A composable function combining loading and error state management.

Returns

LoadingErrorStatus

  • An object containing reactive fields and actions for both loading and error state.