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

Custom error messages #11

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Custom error messages #11

wants to merge 2 commits into from

Conversation

kfly8
Copy link
Owner

@kfly8 kfly8 commented Dec 20, 2024

This pull request provides a feature that customizing error messages.

assert(1 == 0, "Error");
# => Error
assert(1 == 0, sub { "Error" });
# => Error

@coveralls
Copy link

coveralls commented Dec 20, 2024

Pull Request Test Coverage Report for Build 12449948544

Details

  • 11 of 12 (91.67%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.4%) to 88.372%

Changes Missing Coverage Covered Lines Changed/Added Lines %
lib/Syntax/Keyword/Assert.xs 11 12 91.67%
Totals Coverage Status
Change from base Build 12389629673: -0.4%
Covered Lines: 152
Relevant Lines: 172

💛 - Coveralls

@kfly8 kfly8 changed the title Added parser setting Custom error message Dec 22, 2024
@kfly8 kfly8 changed the title Custom error message Custom error messages Dec 22, 2024
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.

2 participants