Skip to content

Fix issue #145: Correct error message and update modifiersAndConstructors_answer.sol - #148

Open
Code-Donewell wants to merge 1 commit into
remix-project-org:masterfrom
Code-Donewell:fix/issue-145-error-message
Open

Fix issue #145: Correct error message and update modifiersAndConstructors_answer.sol#148
Code-Donewell wants to merge 1 commit into
remix-project-org:masterfrom
Code-Donewell:fix/issue-145-error-message

Conversation

@Code-Donewell

Copy link
Copy Markdown

This pull request addresses a minor improvement in the contract's codebase by updating the error message in the biggerThan0 modifier. The current message, "Not bigger than x," is being modified to "Not bigger than 0" for greater clarity.

Testing:
Confirmed that the updated error message is triggered when the requirement of the biggerThan0 modifier is not met (i.e., when y is not greater than 0).
Feedback and suggestions are welcomed.

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.

1 participant