We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 222a9f9 commit 90d71c1Copy full SHA for 90d71c1
src/errors.ts
@@ -54,7 +54,7 @@ export class YdbError extends Error {
54
if (!ErrCls) {
55
throw new Error(`Unexpected status code ${status}!`);
56
} else {
57
- throw new ErrCls(`${ErrCls.name}: ${YdbError.formatIssues(operation.issues)}`, operation.issues);
+ throw new ErrCls(`${ErrCls.name} (code ${status}): ${YdbError.formatIssues(operation.issues)}`, operation.issues);
58
}
59
60
0 commit comments