smartcar / java-sdk

Java client SDK for the Smartcar API.
https://smartcar.github.io/java-sdk
MIT License
20 stars 20 forks source link

Surface SC-Request-Id on SmartcarException #81

Closed sankethkatta closed 4 years ago

sankethkatta commented 4 years ago

This exposes a getRequestId() method on the SmartcarException class.

codecov[bot] commented 4 years ago

Codecov Report

Merging #81 into master will decrease coverage by 0.25%. The diff coverage is 0.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master      #81      +/-   ##
============================================
- Coverage     50.43%   50.17%   -0.26%     
  Complexity       83       83              
============================================
  Files            25       25              
  Lines           581      584       +3     
  Branches         29       29              
============================================
  Hits            293      293              
- Misses          277      280       +3     
  Partials         11       11              
Flag Coverage Δ Complexity Δ
#integration 48.80% <0.00%> (-0.26%) 82.00 <0.00> (ø)
#test 5.47% <0.00%> (-0.03%) 9.00 <0.00> (ø)
Impacted Files Coverage Δ Complexity Δ
.../main/java/com/smartcar/sdk/SmartcarException.java 0.00% <0.00%> (ø) 0.00 <0.00> (ø)
...main/java/com/smartcar/sdk/data/BatchResponse.java 60.78% <0.00%> (ø) 10.00 <0.00> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 5e50ee5...c07eb9d. Read the comment docs.