hilla icon indicating copy to clipboard operation
hilla copied to clipboard

feat(frontend): add specialized errors based on HTTP response codes

Open cromoteca opened this issue 3 years ago • 2 comments

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

cromoteca avatar Sep 21 '22 13:09 cromoteca

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.

codecov[bot] avatar Sep 21 '22 13:09 codecov[bot]

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

sonarqubecloud[bot] avatar Oct 07 '22 09:10 sonarqubecloud[bot]