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

Enhance HttpStatus Class with Improved Error Handling and Immutability #11

Merged
merged 7 commits into from
Feb 24, 2024

Conversation

tech-andgar
Copy link
Contributor

  • Improved error messaging for unrecognized HTTP status codes and added verification test case.
  • Added @immutable annotation to HttpStatus class for enhanced immutability.

tech-andgar and others added 7 commits February 18, 2024 18:11
Added @immutable annotation to HttpStatus class for ensuring its instances are unmodifiable. Also, included 'meta' package in dependencies to support this feature.
Updated the error message thrown when an unrecognized HTTP status code is used. Also added a new test case to verify this behavior and ensure custom codes can be created using the HttpStatus constructor.
Collapsible section added to HTTP status codes for better readability.
Enhance HttpStatus Class with Improved Error Handling and Immutability
@coveralls
Copy link

coveralls commented Feb 24, 2024

Pull Request Test Coverage Report for Build 8028377765

Details

  • 1 of 1 (100.0%) changed or added relevant line in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 100.0%

Totals Coverage Status
Change from base Build 7943219382: 0.0%
Covered Lines: 30
Relevant Lines: 30

💛 - Coveralls

@tech-andgar tech-andgar merged commit 464d546 into DartForge:main Feb 24, 2024
5 checks passed
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