goshippo / shippo-node-client

Shipping API Node.js library (USPS, FedEx, UPS and more)
https://goshippo.com/docs
MIT License
136 stars 54 forks source link

fix catching any undefined http errors #92

Open jbool24 opened 1 year ago

jbool24 commented 1 year ago

This allows any error response not defined to be caught so its not mistakenly returned as a success response. For example 403 or 500 class errors.

References #91

sonarcloud[bot] commented 1 year ago

SonarCloud Quality Gate failed.    Quality Gate failed

Bug C 1 Bug
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