Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeyzimarev committed Oct 10, 2021
1 parent 806128f commit 7551f01
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 5 additions & 0 deletions src/Core/src/Eventuous/Exceptions/DomainException.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
namespace Eventuous;

public class DomainException : Exception {
public DomainException(string message) : base(message) { }
}
4 changes: 0 additions & 4 deletions src/Core/src/Eventuous/Exceptions/Exceptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,4 @@ public AggregateNotFound(string id, Exception? inner) : base(
public class CommandHandlerNotFound : Exception {
public CommandHandlerNotFound(Type type) : base($"Handler not found for command {type.Name}") { }
}
}

public class DomainException : Exception {
public DomainException(string message) : base(message) { }
}

0 comments on commit 7551f01

Please sign in to comment.