From c9b795dcdc61d9f14ead02dadbaf1967cdb4cc58 Mon Sep 17 00:00:00 2001 From: Richard Fontein <32132657+rifont@users.noreply.github.com> Date: Fri, 8 Nov 2024 01:39:25 +0100 Subject: [PATCH] Update packages/framework/src/errors/base.errors.ts --- packages/framework/src/errors/base.errors.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/framework/src/errors/base.errors.ts b/packages/framework/src/errors/base.errors.ts index ecab83f2b21..9f0cb581833 100644 --- a/packages/framework/src/errors/base.errors.ts +++ b/packages/framework/src/errors/base.errors.ts @@ -5,7 +5,7 @@ import { ErrorCodeEnum } from '../constants/error.constants'; * Check if the object is a native error. * * This method relies on `Object.prototype.toString()` behavior. It is possible to obtain - * an incorrect result when the object argument manipulates the `@@toStringTag` property. + * an incorrect result when the object argument has a non `Error`-suffixed `name` property. * * @param object - The object to check. * @returns `true` if the object is a native error, `false` otherwise.