mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-03 01:25:38 -05:00
Update error dialog to include instructions text for SSL cert validation failure (#21036)
This commit is contained in:
@@ -24,6 +24,9 @@ export const passwordChars = '***************';
|
||||
/* default authentication type setting name*/
|
||||
export const defaultAuthenticationType = 'defaultAuthenticationType';
|
||||
|
||||
/* Connection Properties */
|
||||
export const trustServerCertificate = 'trustServerCertificate';
|
||||
|
||||
/**
|
||||
* Well-known Authentication types commonly supported by connection providers.
|
||||
*/
|
||||
|
||||
@@ -10,5 +10,15 @@ import { createDecorator } from 'vs/platform/instantiation/common/instantiation'
|
||||
export const IErrorMessageService = createDecorator<IErrorMessageService>('errorMessageService');
|
||||
export interface IErrorMessageService {
|
||||
_serviceBrand: undefined;
|
||||
showDialog(severity: Severity, headerTitle: string, message: string, messageDetails?: string, actions?: IAction[]): void;
|
||||
/**
|
||||
* Shows error dialog with given parameters
|
||||
* @param severity Severity of the error
|
||||
* @param headerTitle Title to show on Error modal dialog
|
||||
* @param message Message containng error message
|
||||
* @param messageDetails Message details containing stacktrace along with error message
|
||||
* @param actions Custom actions to display on the error message dialog
|
||||
* @param instructionText Spcial instructions to display to user when displaying error message
|
||||
* @param readMoreLink External link to read more about the instructions.
|
||||
*/
|
||||
showDialog(severity: Severity, headerTitle: string, message: string, messageDetails?: string, actions?: IAction[], instructionText?: string, readMoreLink?: string): void;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user