Enum SqlServerConnectionStorePathError
- Namespace
- ItTiger.TigerQuery.Core
- Assembly
- ItTiger.TigerQuery.Core.dll
Why a supplied connection-store file path could not be used.
public enum SqlServerConnectionStorePathError
Fields
Blank = 1- The source supplied a value, but it was empty or whitespace.A source that supplies nothing at all is skipped rather than failed. Only a present-but-blank value produces this code, so an environment variable set to an empty string is a configuration error and not the same as an unset variable.
Malformed = 2- The value could not be normalized to an absolute path.Illegal characters, a malformed root, or a path too long for the platform.
MissingFileName = 3- The value has no file-name component, so it names a directory.Detected syntactically: the normalized path ends in a directory separator or is a
bare root. A path that happens to name an existing directory without saying so —
., for example — is not detectable here and is not treated as an error. None = 0- No error; the resolution succeeded.
Remarks
Every member describes a purely syntactic problem. Resolution never asks the file
system whether the path exists, so no member here means "missing file"; whether an
absent store is an error is a separate, caller-owned policy.
The code is paired with Source so a presentation layer can select its own localized message instead of using the English ErrorMessage.