From fd7365d6c7b6d3376b6c13802391c1455184ab1c Mon Sep 17 00:00:00 2001 From: Troy Li Date: Sat, 26 Oct 2024 05:48:06 +0800 Subject: [PATCH] chore: update isRouteErrorResponse description (#12189) --- contributors.yml | 1 + packages/router/utils.ts | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contributors.yml b/contributors.yml index 9369c756ae..f29dd3b68a 100644 --- a/contributors.yml +++ b/contributors.yml @@ -284,3 +284,4 @@ - yuleicul - zeromask1337 - zheng-chuang +- ttys026 diff --git a/packages/router/utils.ts b/packages/router/utils.ts index c6586aee23..d4ff95d458 100644 --- a/packages/router/utils.ts +++ b/packages/router/utils.ts @@ -1693,8 +1693,7 @@ export class ErrorResponseImpl implements ErrorResponse { } /** - * Check if the given error is an ErrorResponse generated from a 4xx/5xx - * Response thrown from an action/loader + * Check if the given error is an ErrorResponse thrown from an action/loader */ export function isRouteErrorResponse(error: any): error is ErrorResponse { return (