File: fits_exceptions.py

package info (click to toggle)
python-fitsio 1.2.6%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,204 kB
  • sloc: ansic: 9,422; python: 5,916; makefile: 9
file content (10 lines) | stat: -rw-r--r-- 246 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
class FITSFormatError(Exception):
    """
    Format error in FITS file
    """
    def __init__(self, value):
        super(FITSFormatError, self).__init__(value)
        self.value = value

    def __str__(self):
        return str(self.value)