2026-09-17 09:01:14 +00:00
|
|
|
|
namespace Sozsoft.Mcp;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// MCP hatalarinin dil anahtarlari. Karsiliklari platformun <c>LanguagesData.json</c>
|
|
|
|
|
|
/// dosyasinda EN + TR olarak durur; koda gomulu metin kullanilmaz.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public static class McpErrorCodes
|
|
|
|
|
|
{
|
|
|
|
|
|
private const string Prefix = "App.Mcp.Error.";
|
|
|
|
|
|
|
|
|
|
|
|
public const string NoServerRecord = Prefix + "NoServerRecord";
|
|
|
|
|
|
public const string ToolDisabled = Prefix + "ToolDisabled";
|
2026-09-24 11:58:23 +00:00
|
|
|
|
public const string TenantToolDisabled = Prefix + "TenantToolDisabled";
|
|
|
|
|
|
public const string PermissionDenied = Prefix + "PermissionDenied";
|
|
|
|
|
|
public const string PermissionDeniedUnspecified = Prefix + "PermissionDeniedUnspecified";
|
2026-09-17 09:01:14 +00:00
|
|
|
|
public const string EmptyQuery = Prefix + "EmptyQuery";
|
|
|
|
|
|
public const string SingleStatementOnly = Prefix + "SingleStatementOnly";
|
|
|
|
|
|
public const string ReadOnlyStatementRequired = Prefix + "ReadOnlyStatementRequired";
|
|
|
|
|
|
public const string ForbiddenKeyword = Prefix + "ForbiddenKeyword";
|
|
|
|
|
|
public const string InvalidIdentifier = Prefix + "InvalidIdentifier";
|
|
|
|
|
|
public const string InvalidParameterName = Prefix + "InvalidParameterName";
|
|
|
|
|
|
public const string UnsupportedObjectKind = Prefix + "UnsupportedObjectKind";
|
|
|
|
|
|
public const string CustomEndpointNotFound = Prefix + "CustomEndpointNotFound";
|
|
|
|
|
|
public const string MissingParameters = Prefix + "MissingParameters";
|
|
|
|
|
|
public const string ListFormCodeRequired = Prefix + "ListFormCodeRequired";
|
2026-09-24 11:58:23 +00:00
|
|
|
|
public const string InvalidLoadOption = Prefix + "InvalidLoadOption";
|
2026-09-17 09:01:14 +00:00
|
|
|
|
public const string ValuesRequired = Prefix + "ValuesRequired";
|
|
|
|
|
|
public const string KeysRequired = Prefix + "KeysRequired";
|
|
|
|
|
|
public const string DictionaryNotFound = Prefix + "DictionaryNotFound";
|
|
|
|
|
|
public const string RegistrationLimitReached = Prefix + "RegistrationLimitReached";
|
|
|
|
|
|
public const string RedirectUriNotAllowed = Prefix + "RedirectUriNotAllowed";
|
2026-09-18 13:47:23 +00:00
|
|
|
|
public const string DevGuideUnavailable = Prefix + "DevGuideUnavailable";
|
|
|
|
|
|
public const string DevGuideSectionNotFound = Prefix + "DevGuideSectionNotFound";
|
|
|
|
|
|
public const string InvalidWizard = Prefix + "InvalidWizard";
|
|
|
|
|
|
public const string ComponentNameRequired = Prefix + "ComponentNameRequired";
|
|
|
|
|
|
public const string ComponentCodeRequired = Prefix + "ComponentCodeRequired";
|
|
|
|
|
|
public const string ComponentNotFound = Prefix + "ComponentNotFound";
|
2026-09-24 11:58:23 +00:00
|
|
|
|
public const string VerifyWizardFileInvalid = Prefix + "VerifyWizardFileInvalid";
|
|
|
|
|
|
public const string VerifyMenuMissing = Prefix + "VerifyMenuMissing";
|
|
|
|
|
|
public const string VerifyMenuDisabled = Prefix + "VerifyMenuDisabled";
|
|
|
|
|
|
public const string VerifyMenuUrlMismatch = Prefix + "VerifyMenuUrlMismatch";
|
|
|
|
|
|
public const string VerifyPermissionMissing = Prefix + "VerifyPermissionMissing";
|
|
|
|
|
|
public const string VerifySelectPassed = Prefix + "VerifySelectPassed";
|
|
|
|
|
|
public const string VerifySelectFailed = Prefix + "VerifySelectFailed";
|
|
|
|
|
|
public const string VerifyComponentInactive = Prefix + "VerifyComponentInactive";
|
|
|
|
|
|
public const string VerifyComponentRouteMismatch = Prefix + "VerifyComponentRouteMismatch";
|
|
|
|
|
|
public const string VerifySeedClosureIncomplete = Prefix + "VerifySeedClosureIncomplete";
|
|
|
|
|
|
public const string VerifySeedClosureSkipped = Prefix + "VerifySeedClosureSkipped";
|
|
|
|
|
|
public const string DevRequestNotFound = Prefix + "DevRequestNotFound";
|
|
|
|
|
|
public const string DevRequestAmbiguous = Prefix + "DevRequestAmbiguous";
|
|
|
|
|
|
public const string DevRequestNotReady = Prefix + "DevRequestNotReady";
|
|
|
|
|
|
public const string DevRequestNoteRequired = Prefix + "DevRequestNoteRequired";
|
2026-09-18 13:47:23 +00:00
|
|
|
|
public const string VisualDesignerComponent = Prefix + "VisualDesignerComponent";
|
|
|
|
|
|
public const string TableColumnsRequired = Prefix + "TableColumnsRequired";
|
|
|
|
|
|
public const string UnsupportedColumnType = Prefix + "UnsupportedColumnType";
|
|
|
|
|
|
public const string InvalidColumnLength = Prefix + "InvalidColumnLength";
|
|
|
|
|
|
public const string InvalidDefaultValue = Prefix + "InvalidDefaultValue";
|
|
|
|
|
|
public const string DuplicateColumn = Prefix + "DuplicateColumn";
|
|
|
|
|
|
public const string TableAlreadyExists = Prefix + "TableAlreadyExists";
|
|
|
|
|
|
public const string TableProviderNotSupported = Prefix + "TableProviderNotSupported";
|
2026-09-17 09:01:14 +00:00
|
|
|
|
}
|