type-alias
Source: useCancelablePromise.ts ↗
UseCancelablePromiseErrorState
Indicates error state for useCancelablePromise() hook
export type UseCancelablePromiseErrorState<TError> = {
result: undefined;
error: TError;
status: "error";
};