From 7094ce3aafd7b05ded3b8105f544fd008a8e2618 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20Boh=C3=A1=C4=8Dek?= Date: Tue, 1 Mar 2022 20:08:52 +0100 Subject: [PATCH] feat(core): make command handler not found error --- Core/NosSmooth.Core/Errors/CommandHandlerNotFound.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/NosSmooth.Core/Errors/CommandHandlerNotFound.cs b/Core/NosSmooth.Core/Errors/CommandHandlerNotFound.cs index b5dd2d9..0c3b220 100644 --- a/Core/NosSmooth.Core/Errors/CommandHandlerNotFound.cs +++ b/Core/NosSmooth.Core/Errors/CommandHandlerNotFound.cs @@ -13,5 +13,5 @@ namespace NosSmooth.Core.Errors; /// Represents an error that tells the user there is no handler for the specified command so it cannot be processed. /// /// The type of the command. -public record CommandHandlerNotFound(Type CommandType) : ResultError( +public record CommandHandlerNotFound(Type CommandType) : NotFoundError( $"Could not process the command of type {CommandType.FullName}, because there is not a handler for it."); \ No newline at end of file -- 2.49.0