pub enum AtfitsError {
Fits(Error),
Io(Error),
MissingKeyword(String),
TargetAxisMissing(String),
UnsupportedNaxis(i64),
Other(String),
}Expand description
Errors raised by the shared cfitsio helpers.
Variants§
Fits(Error)
Underlying cfitsio error.
Io(Error)
Filesystem I/O error.
MissingKeyword(String)
A required header keyword was absent.
TargetAxisMissing(String)
A requested target (e.g. FREQ/TIME) axis was not found in the WCS.
UnsupportedNaxis(i64)
A FITS image had an unexpected dimensionality.
Other(String)
Catch-all for invariant violations.
Trait Implementations§
Source§impl Debug for AtfitsError
impl Debug for AtfitsError
Source§impl Display for AtfitsError
impl Display for AtfitsError
Source§impl Error for AtfitsError
impl Error for AtfitsError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<Error> for AtfitsError
impl From<Error> for AtfitsError
Auto Trait Implementations§
impl !RefUnwindSafe for AtfitsError
impl !UnwindSafe for AtfitsError
impl Freeze for AtfitsError
impl Send for AtfitsError
impl Sync for AtfitsError
impl Unpin for AtfitsError
impl UnsafeUnpin for AtfitsError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more