dolphindb 2.0.916 → 2.0.918

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/browser.d.ts CHANGED
@@ -464,10 +464,12 @@ export interface DdbRpcOptions {
464
464
  parse_object?: boolean;
465
465
  }
466
466
  export declare class DdbConnectionError extends Error {
467
+ name: string;
467
468
  ddb: DDB;
468
469
  constructor(ddb: DDB, error_options?: ErrorOptions);
469
470
  }
470
471
  export declare class DdbDatabaseError extends Error {
472
+ name: string;
471
473
  ddb: DDB;
472
474
  type: DdbRpcType;
473
475
  options: DdbRpcOptions;
package/browser.js CHANGED
@@ -2122,6 +2122,7 @@ export function int1282str(buffer, le = true) {
2122
2122
  }
2123
2123
  export const winsize = 10_0000;
2124
2124
  export class DdbConnectionError extends Error {
2125
+ name = 'DdbConnectionError';
2125
2126
  ddb;
2126
2127
  constructor(ddb, error_options) {
2127
2128
  super(`${ddb.url} ${t('已断开')}`, error_options);
@@ -2129,6 +2130,7 @@ export class DdbConnectionError extends Error {
2129
2130
  }
2130
2131
  }
2131
2132
  export class DdbDatabaseError extends Error {
2133
+ name = 'DdbDatabaseError';
2132
2134
  ddb;
2133
2135
  type;
2134
2136
  options;