Improved exception handling for indexing
This commit is contained in:
5
src/Server/Exceptions/SearchdomainExceptions.cs
Normal file
5
src/Server/Exceptions/SearchdomainExceptions.cs
Normal file
@@ -0,0 +1,5 @@
|
||||
namespace Server.Exceptions;
|
||||
|
||||
public class ProbMethodNotFoundException(string probMethod) : Exception($"Unknown probMethod name {probMethod}") { }
|
||||
|
||||
public class SimilarityMethodNotFoundException(string similarityMethod) : Exception($"Unknown similarityMethod name \"{similarityMethod}\"") { }
|
||||
Reference in New Issue
Block a user