From 3b0768ce68035fe8a2b017b736f24ab3bcce350b Mon Sep 17 00:00:00 2001 From: Khraks Mamtsov Date: Wed, 29 Nov 2023 16:12:52 +0100 Subject: [PATCH] Get rid `absorb` mention in Effect module (#1718) Co-authored-by: maksim.khramtsov --- .changeset/tasty-bottles-work.md | 5 +++++ docs/modules/Effect.ts.md | 4 ++-- src/Effect.ts | 4 ++-- 3 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 .changeset/tasty-bottles-work.md diff --git a/.changeset/tasty-bottles-work.md b/.changeset/tasty-bottles-work.md new file mode 100644 index 0000000000..f57ff745e0 --- /dev/null +++ b/.changeset/tasty-bottles-work.md @@ -0,0 +1,5 @@ +--- +"effect": patch +--- + +get rid `absorb` mention diff --git a/docs/modules/Effect.ts.md b/docs/modules/Effect.ts.md index dd8177fd03..89cda4c0da 100644 --- a/docs/modules/Effect.ts.md +++ b/docs/modules/Effect.ts.md @@ -2168,7 +2168,7 @@ Added in v2.0.0 Recovers from both recoverable and unrecoverable errors. -See `absorb`, `sandbox`, `mapErrorCause` for other functions that can +See `sandbox`, `mapErrorCause` for other functions that can recover from defects. **Signature** @@ -3691,7 +3691,7 @@ Returns an effect with its full cause of failure mapped using the specified function. This can be used to transform errors while preserving the original structure of `Cause`. -See `absorb`, `sandbox`, `catchAllCause` for other functions for dealing +See `sandbox`, `catchAllCause` for other functions for dealing with defects. **Signature** diff --git a/src/Effect.ts b/src/Effect.ts index d3194ea584..d9ac0cc82d 100644 --- a/src/Effect.ts +++ b/src/Effect.ts @@ -1512,7 +1512,7 @@ export const catchAll: { /** * Recovers from both recoverable and unrecoverable errors. * - * See `absorb`, `sandbox`, `mapErrorCause` for other functions that can + * See `sandbox`, `mapErrorCause` for other functions that can * recover from defects. * * @since 2.0.0 @@ -2199,7 +2199,7 @@ export const mapError: { * function. This can be used to transform errors while preserving the * original structure of `Cause`. * - * See `absorb`, `sandbox`, `catchAllCause` for other functions for dealing + * See `sandbox`, `catchAllCause` for other functions for dealing * with defects. * * @since 2.0.0