Skip to content

Commit

Permalink
Add new IndexNotFound exception (#437)
Browse files Browse the repository at this point in the history
Add new IndexNotFound exception to be used by memory dbs and clients
  • Loading branch information
dluc authored Apr 24, 2024
1 parent 48e1c00 commit 288ff99
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions service/Abstractions/MemoryStorage/IndexNotFound.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// Copyright (c) Microsoft. All rights reserved.

using System;

namespace Microsoft.KernelMemory.MemoryStorage;

public class IndexNotFound : KernelMemoryException
{
/// <inheritdoc />
public IndexNotFound() { }

/// <inheritdoc />
public IndexNotFound(string message) : base(message) { }

/// <inheritdoc />
public IndexNotFound(string message, Exception? innerException) : base(message, innerException) { }
}

0 comments on commit 288ff99

Please sign in to comment.