dolphindb 2.0.919 → 2.0.920
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.js +4 -1
- package/browser.js.map +1 -1
- package/i18n/dict.json +3 -0
- package/index.js +4 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
package/browser.js
CHANGED
|
@@ -2125,7 +2125,10 @@ export class DdbConnectionError extends Error {
|
|
|
2125
2125
|
name = 'DdbConnectionError';
|
|
2126
2126
|
ddb;
|
|
2127
2127
|
constructor(ddb, error_options) {
|
|
2128
|
-
super(
|
|
2128
|
+
super(error_options?.cause ?
|
|
2129
|
+
error_options.cause.message
|
|
2130
|
+
:
|
|
2131
|
+
`${ddb.url} ${t('连接出错了,可能由于网络原因连接已被关闭,或服务器断开连接')}`, error_options);
|
|
2129
2132
|
this.ddb = ddb;
|
|
2130
2133
|
}
|
|
2131
2134
|
}
|