UseCancelablePromiseErrorState
Home > @gooddata/sdk-ui > UseCancelablePromiseErrorState
UseCancelablePromiseErrorState type
Indicates error state for useCancelablePromise() hook
Signature:
export type UseCancelablePromiseErrorState<TError> = {
result: undefined;
error: TError;
status: "error";
};