quick question. clean architecture
hey guys, quick question here.
i want to make a custom error txt.
for example: data not found. data is deleted.
stuff like that.
i than want to throw that from application layer.
where would i store this error? in domain layer as like general error or in application layer?
4 Replies
$vsa if you can
https://www.youtube.com/watch?v=T-EwN9UqRwE
https://codeopinion.com/restructuring-to-a-vertical-slice-architecture/
dotnet
YouTube
Vertical Slice Architecture: How Does it Compare to Clean Architect...
Is Vertical Slice Architecture the next big thing or just as cool new kid?
Enterprise software development requires you to choose the right architecture. This session with Luke Parker will provide a realistic dive into Vertical Slice Architecture (VSA) with .NET; showcasing the potential shift from Clean Architecture (CA) to VSA.
You will lear...
Derek Comartin
CodeOpinion
Restructuring to a Vertical Slice Architecture
What is Vertical Slice Architecture? It's about focusing and organizing code by features and capabilities, not technical concerns!
Otherwise, I guess just put it where it's used?
yeah i mean it depends on how sophisticated your error stuff is and where the error has to be shown
someone puts a string directly in the code
someone has a service for translations and stuff and you get the message using a key called slug