Skip to content

Commit 517756f

Browse files
committed
Remove unused finallyExecuted property from Try class to streamline error handling logic.
Signed-off-by: w01fgang <sumin@unix-center.ru>
1 parent ea850ac commit 517756f

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/nextjs/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@ export class Try<T, TArgs extends readonly Record<string, any>[] = Record<string
4242
private result?: TryResult<T>;
4343
private state: 'pending' | 'executed';
4444
private static ignoreErrorTypes: string[] = []
45-
/** Tracks whether the user supplied `finally` callback has already been executed */
46-
private finallyExecuted = false;
4745

4846
/**
4947
* Creates a new Try instance for simplified async error handling.

0 commit comments

Comments
 (0)