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;