From e5d9ea2fe34baa111cbea0d6ef4acf1575807bce Mon Sep 17 00:00:00 2001 From: Matthieu Riegler Date: Tue, 3 Jun 2025 17:43:19 +0200 Subject: [PATCH] docs: update resource docs (#61846) `value` throws when the resource is in error state. PR Close #61846 --- packages/common/http/src/resource_api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/common/http/src/resource_api.ts b/packages/common/http/src/resource_api.ts index e2056f1ccd0..7a433d801e8 100644 --- a/packages/common/http/src/resource_api.ts +++ b/packages/common/http/src/resource_api.ts @@ -95,7 +95,7 @@ export interface HttpResourceOptions { parse?: (value: TRaw) => TResult; /** - * Value that the resource will take when in Idle, Loading, or Error states. + * Value that the resource will take when in Idle or Loading states. * * If not set, the resource will use `undefined` as its default value. */