| Clean Architecture Toolkit for .NET | |||||
|
Clean Architecture Toolkit is a clean, modular architecture foundation for .NET applications. It embraces SOLID principles and focuses on maintainability, testability, and scalability through clear boundaries and pluggable design. |
|
||||
|
| HOME | MODULE OVERVIEW | DEMO | CAT.RESPONSES | |
|||||
Code Reference
» Cat.Responses.Abstractions Assembly » Cat.Responses.Abstractions Namespace
CatResponseType Class
Identifies the specific outcome of an operation, such as Ok or NotFound. Every outcome is either a Succeeded or a Failed variant, so matching on the base type tells you whether a response succeeded without inspecting the concrete outcome.
public abstract class CatResponseType
Inheritance System.Object → CatResponseType
| Properties | |
|---|---|
| BadRequest | The operation failed because the request was invalid. |
| Conflict | The operation failed because it conflicts with the current state of the resource. |
| Created | The operation succeeded and created a new resource. |
| Forbidden | The operation failed because the caller isn’t allowed to perform it. |
| InternalServerError | The operation failed because of an unexpected error. |
| NoContent | The operation succeeded and has nothing to return. |
| NotFound | The operation failed because the requested resource doesn’t exist. |
| Ok | The operation succeeded. |
| Unauthorized | The operation failed because the caller isn’t authenticated. |