From ffa67f5806b65d47aac08a244d3a8c8a41c87acc Mon Sep 17 00:00:00 2001 From: Paul Paterson Date: Mon, 28 Oct 2024 13:58:01 -0400 Subject: [PATCH] add todo note --- src/errors.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/errors.ts b/src/errors.ts index 366cadc9..38136ff2 100644 --- a/src/errors.ts +++ b/src/errors.ts @@ -227,6 +227,9 @@ export class ThrottlingError extends ServiceError { export class QueryTimeoutError extends ServiceError { /** * Statistics regarding the query. + * + * TODO: Deprecate this `stats` field. All `ServiceError`s already provide + * access to stats through `queryInfo.stats` */ readonly stats?: QueryStats;