// Copyright (c) Microsoft Corporation
// The Microsoft Corporation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace Common.Search;
///
/// Defines error codes for search operations.
///
public enum SearchErrorCode
{
///
/// No error occurred.
///
None = 0,
///
/// The search engine failed to initialize.
///
InitializationFailed = 1,
///
/// Failed to index content.
///
IndexingFailed = 2,
///
/// The search query failed to execute.
///
SearchFailed = 3,
///
/// The search engine is not ready to perform the operation.
///
EngineNotReady = 4,
///
/// A required capability is not available.
///
CapabilityUnavailable = 5,
///
/// The operation timed out.
///
Timeout = 6,
///
/// An unexpected error occurred.
///
Unexpected = 99,
}