Skip to content

API Documentation / @pinia/colada / DataState_Error

Interface: DataState_Error<TData, TError, TDataInitial> ​

Type Parameters ​

TData ​

TData

TError ​

TError

TDataInitial ​

TDataInitial

Properties ​

data ​

ts
data: TData | TDataInitial;

The last successfully resolved data.

Inherited from ​

ts
_DataState_Base.data

error ​

ts
error: TError;

The last rejected error.

Inherited from ​

ts
_DataState_Base.error

status ​

ts
status: "error";

The status of the data.

See ​

DataStateStatus

Overrides ​

ts
_DataState_Base.status

Released under the MIT License.