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 +2 -0
- package/browser.js +2 -0
- package/browser.js.map +1 -1
- package/docs.en.json +90 -26
- package/docs.zh.json +112 -126
- package/index.d.ts +2 -0
- package/index.js +2 -0
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -455,10 +455,12 @@ export interface DdbRpcOptions {
|
|
|
455
455
|
parse_object?: boolean;
|
|
456
456
|
}
|
|
457
457
|
export declare class DdbConnectionError extends Error {
|
|
458
|
+
name: string;
|
|
458
459
|
ddb: DDB;
|
|
459
460
|
constructor(ddb: DDB, error_options?: ErrorOptions);
|
|
460
461
|
}
|
|
461
462
|
export declare class DdbDatabaseError extends Error {
|
|
463
|
+
name: string;
|
|
462
464
|
ddb: DDB;
|
|
463
465
|
type: DdbRpcType;
|
|
464
466
|
options: DdbRpcOptions;
|
package/index.js
CHANGED
|
@@ -2106,6 +2106,7 @@ export function int1282str(buffer, le = true) {
|
|
|
2106
2106
|
}
|
|
2107
2107
|
export const winsize = 10_0000;
|
|
2108
2108
|
export class DdbConnectionError extends Error {
|
|
2109
|
+
name = 'DdbConnectionError';
|
|
2109
2110
|
ddb;
|
|
2110
2111
|
constructor(ddb, error_options) {
|
|
2111
2112
|
super(`${ddb.url} ${t('已断开')}`, error_options);
|
|
@@ -2113,6 +2114,7 @@ export class DdbConnectionError extends Error {
|
|
|
2113
2114
|
}
|
|
2114
2115
|
}
|
|
2115
2116
|
export class DdbDatabaseError extends Error {
|
|
2117
|
+
name = 'DdbDatabaseError';
|
|
2116
2118
|
ddb;
|
|
2117
2119
|
type;
|
|
2118
2120
|
options;
|