mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
additional data property to error object and use it for table designer scenarios (#19713)
* add data property to error object * vbump sts
This commit is contained in:
@@ -446,6 +446,7 @@ export class RPCProtocol extends Disposable implements IRPCProtocol {
|
||||
err.message = value.message;
|
||||
err.stack = value.stack;
|
||||
err.errorCode = value.errorCode; // {{SQL CARBON EDIT}} Include custom error code
|
||||
err.data = value.data; // {{SQL CARBON EDIT}} Include custom data
|
||||
} else {
|
||||
err = value;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user