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

Define domain custom errors #70

Merged
merged 2 commits into from
Aug 5, 2024
Merged

Conversation

paulobressan
Copy link
Member

No description provided.

Copy link
Contributor

@gonzalezzfelipe gonzalezzfelipe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just as a general comment: Unauthenticated means "I don't know who you are" and Unauthorized means "I know who you are, but you are not allowed to do this". I think in this PR you are using Unauthorized when you actually mean Unauthenticated and PermissionDenied should be Unauthorized

src/domain/project/command.rs Outdated Show resolved Hide resolved
src/domain/project/command.rs Outdated Show resolved Hide resolved
src/domain/project/command.rs Outdated Show resolved Hide resolved
@paulobressan paulobressan merged commit bae0a7c into main Aug 5, 2024
3 checks passed
@paulobressan paulobressan deleted the 68-define-domain-custom-errors branch August 5, 2024 20:40
@paulobressan paulobressan linked an issue Aug 5, 2024 that may be closed by this pull request
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Complete project and resource flows in the domain
2 participants