hilla
hilla copied to clipboard
feat(frontend): add specialized errors based on HTTP response codes
I tried not to break existing code by keeping the inheritance compatible, although that means having some redundant fields in EndpointResponseError and its subclasses.
Fixes #537
Codecov Report
Base: 96.73% // Head: 96.75% // Increases project coverage by +0.02% :tada:
Coverage data is based on head (
95e59e4) compared to base (3c76baa). Patch coverage: 100.00% of modified lines in pull request are covered.
Additional details and impacted files
@@ Coverage Diff @@
## main #557 +/- ##
==========================================
+ Coverage 96.73% 96.75% +0.02%
==========================================
Files 28 28
Lines 4596 4626 +30
Branches 301 301
==========================================
+ Hits 4446 4476 +30
Misses 147 147
Partials 3 3
| Flag | Coverage Δ | |
|---|---|---|
| unittests | 96.75% <100.00%> (+0.02%) |
:arrow_up: |
Flags with carried forward coverage won't be shown. Click here to find out more.
| Impacted Files | Coverage Δ | |
|---|---|---|
| packages/ts/hilla-frontend/src/Connect.ts | 99.38% <100.00%> (+0.04%) |
:arrow_up: |
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
Kudos, SonarCloud Quality Gate passed! 
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
0.0% Duplication