File: fits_exceptions.py

package info (click to toggle)
python-fitsio 1.2.5%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 1,200 kB
  • sloc: ansic: 9,410; python: 5,802; makefile: 9
file content (10 lines) | stat: -rw-r--r-- 246 bytes parent folder | download
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)