twilio / twilio-java

A Java library for communicating with the Twilio REST API and generating TwiML.
MIT License
477 stars 422 forks source link

chore: added constructor in api exception #769

Closed sbansla closed 9 months ago

sbansla commented 9 months ago

Fixes

Added constructor in api exception so that http status can be set even when restException is null.

Checklist

If you have questions, please file a support ticket, or create a GitHub Issue in this repository.

sonarcloud[bot] commented 9 months ago

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

0.0% 0.0% Coverage
0.0% 0.0% Duplication

warning The version of Java (11.0.20.1) you have used to run this analysis is deprecated and we will stop accepting it soon. Please update to at least Java 17. Read more here