Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a base type for errors that can return an error code #9

Open
Felix-CodingClimber opened this issue Feb 10, 2024 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@Felix-CodingClimber
Copy link
Owner

Make CrudResult abstract base class with TErrorCodeEnum as type parameter where TErrorCodeEnum has enum constraint. Inherited classes can provide custom error codes. Error codes should be used to communicate errors back to client.

Create CrudResult as first implementation.

Improve client side tooling to work with those error codes and messages.

@Felix-CodingClimber Felix-CodingClimber added the enhancement New feature or request label Feb 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant