mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-02-11 10:38:32 -05:00
Improving profiler error messages (#658)
* Improving error messages * Fixing stopping error message * Cleaning up repeat error messages * Changing error names
This commit is contained in:
committed by
GitHub
parent
b8c31e1138
commit
ec9d51ede1
@@ -3669,6 +3669,14 @@ namespace Microsoft.SqlTools.ServiceLayer
|
||||
}
|
||||
}
|
||||
|
||||
public static string SessionNotFound
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.SessionNotFound);
|
||||
}
|
||||
}
|
||||
|
||||
public static string UserCancelledSelectStep
|
||||
{
|
||||
get
|
||||
@@ -4551,6 +4559,16 @@ namespace Microsoft.SqlTools.ServiceLayer
|
||||
return Keys.GetString(Keys.EditDataIncorrectTable, tableName);
|
||||
}
|
||||
|
||||
public static string StopSessionFailed(String error)
|
||||
{
|
||||
return Keys.GetString(Keys.StopSessionFailed, error);
|
||||
}
|
||||
|
||||
public static string StartSessionFailed(String error)
|
||||
{
|
||||
return Keys.GetString(Keys.StartSessionFailed, error);
|
||||
}
|
||||
|
||||
public static string EnableAlertsTitle(String serverName)
|
||||
{
|
||||
return Keys.GetString(Keys.EnableAlertsTitle, serverName);
|
||||
@@ -6158,6 +6176,15 @@ namespace Microsoft.SqlTools.ServiceLayer
|
||||
public const string AzureSystemDbProfilingError = "AzureSystemDbProfilingError";
|
||||
|
||||
|
||||
public const string StopSessionFailed = "StopSessionFailed";
|
||||
|
||||
|
||||
public const string StartSessionFailed = "StartSessionFailed";
|
||||
|
||||
|
||||
public const string SessionNotFound = "SessionNotFound";
|
||||
|
||||
|
||||
public const string EnableAlertsTitle = "EnableAlertsTitle";
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user