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

CODE RUB: Change Wrong Exception Message #305

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion 2. Services/2.1 Foundations/2.1 Foundations.md
Original file line number Diff line number Diff line change
Expand Up @@ -1072,7 +1072,7 @@ private async Task ShouldThrowValidationExceptionOnRetrieveByIdIfStudentNotFound

var notFoundStudentException =
new NotFoundStudentException(
message: $"Student not found with the id: {inputStudentId}",
message: $"Student is not found with the id: {inputStudentId}",
Copy link
Owner

Choose a reason for hiding this comment

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

This should be Not found user with id ....

innerException: innerException.innerException.As<Xeption>());

var expectedStudentValidationException =
Expand Down