AndrewAnnex / SpiceyPy

SpiceyPy: a Pythonic Wrapper for the SPICE Toolkit.
MIT License
395 stars 84 forks source link

Add `SpiceNOTENOUGHDATA2` exception #466

Closed cgobat closed 1 year ago

cgobat commented 1 year ago

I encountered a SPICE(NOTENOUGHDATA2) error which had no corresponding exception class in SpiceyPy. This PR adds it to exceptions.py.

codecov[bot] commented 1 year ago

Codecov Report

Merging #466 (a716650) into main (141fe4d) will increase coverage by 0.00%. The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #466   +/-   ##
=======================================
  Coverage   99.86%   99.86%           
=======================================
  Files          13       13           
  Lines       15633    15635    +2     
=======================================
+ Hits        15612    15614    +2     
  Misses         21       21           
Impacted Files Coverage Δ
src/spiceypy/utils/exceptions.py 100.00% <100.00%> (ø)
AndrewAnnex commented 1 year ago

LGTM! thanks @cgobat