mirror of
https://github.com/bitwarden/server
synced 2025-12-23 19:53:40 +00:00
Extract logic into service
This commit is contained in:
13
util/SeederApi/Services/RecipeExceptions.cs
Normal file
13
util/SeederApi/Services/RecipeExceptions.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
namespace Bit.SeederApi.Services;
|
||||
|
||||
public class RecipeNotFoundException : Exception
|
||||
{
|
||||
public RecipeNotFoundException(string message) : base(message) { }
|
||||
}
|
||||
|
||||
public class RecipeExecutionException : Exception
|
||||
{
|
||||
public RecipeExecutionException(string message) : base(message) { }
|
||||
public RecipeExecutionException(string message, Exception innerException)
|
||||
: base(message, innerException) { }
|
||||
}
|
||||
Reference in New Issue
Block a user