Enum mwalib::FitsError [−][src]
pub enum FitsError { Open { fits_error: Error, fits_filename: String, source_file: &'static str, source_line: u32, }, MissingKey { key: String, fits_filename: String, hdu_num: usize, source_file: &'static str, source_line: u32, }, NotImage { fits_filename: String, hdu_num: usize, source_file: &'static str, source_line: u32, }, LongString { key: String, fits_filename: String, hdu_num: usize, source_file: &'static str, source_line: u32, }, Fitsio { fits_error: Error, fits_filename: String, hdu_num: usize, source_file: &'static str, source_line: u32, }, Parse { key: String, fits_filename: String, hdu_num: usize, source_file: &'static str, source_line: u32, }, }
Variants
Error when opening a fits file.
Error describing a key that couldn’t be found in a fits header.
Fields of MissingKey
Error describing a HDU that couldn’t be used as an image (e.g. HduInfo::ImageInfo
).
Failure to read a long string.
Fields of LongString
A generic error associated with the fitsio crate.
Fields of Fitsio
An error associated with parsing a string into another type.