Enum birli::BirliError
source · pub enum BirliError {
IOError(IOError),
CalibrationError(CalibrationError),
ClapError(Error),
CLIError(CLIError),
MwalibError(MwalibError),
SelectionError(SelectionError),
PassbandCorrection(PassbandCorrection),
DigitalGainCorrection(DigitalGainCorrection),
DryRun {},
BadArrayShape(BadArrayShape),
InsufficientMemory {
need_gib: usize,
},
BadMWAVersion {
message: String,
version: String,
},
}
Expand description
An enum of all the errors possible in Birli
Variants§
IOError(IOError)
Error derived from crate::io::error::IOError
CalibrationError(CalibrationError)
Error derived from crate::calibration::CalibrationError
ClapError(Error)
Error derived from clap::Error
CLIError(CLIError)
Error derived from CLIError
MwalibError(MwalibError)
Error derived from [marlu::mwalib::MwalibError
]
SelectionError(SelectionError)
Error derived from crate::marlu::selection::SelectionError
PassbandCorrection(PassbandCorrection)
Error derived from crate::corrections::PassbandCorrection
DigitalGainCorrection(DigitalGainCorrection)
Error derived from crate::corrections::DigitalGainCorrection
DryRun
Fields
enum variant for when a dry run is selected
BadArrayShape(BadArrayShape)
Error for bad array shape in provided argument
InsufficientMemory
Error when we asked for too much memory
BadMWAVersion
When a bad MWA Version is provided
Trait Implementations§
source§impl Debug for BirliError
impl Debug for BirliError
source§impl Display for BirliError
impl Display for BirliError
source§impl Error for BirliError
impl Error for BirliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<BadArrayShape> for BirliError
impl From<BadArrayShape> for BirliError
source§fn from(source: BadArrayShape) -> Self
fn from(source: BadArrayShape) -> Self
Converts to this type from the input type.
source§impl From<CalibrationError> for BirliError
impl From<CalibrationError> for BirliError
source§fn from(source: CalibrationError) -> Self
fn from(source: CalibrationError) -> Self
Converts to this type from the input type.
source§impl From<DigitalGainCorrection> for BirliError
impl From<DigitalGainCorrection> for BirliError
source§fn from(source: DigitalGainCorrection) -> Self
fn from(source: DigitalGainCorrection) -> Self
Converts to this type from the input type.
source§impl From<Error> for BirliError
impl From<Error> for BirliError
source§impl From<IOError> for BirliError
impl From<IOError> for BirliError
source§impl From<MwalibError> for BirliError
impl From<MwalibError> for BirliError
source§impl From<PassbandCorrection> for BirliError
impl From<PassbandCorrection> for BirliError
source§fn from(source: PassbandCorrection) -> Self
fn from(source: PassbandCorrection) -> Self
Converts to this type from the input type.
source§impl From<SelectionError> for BirliError
impl From<SelectionError> for BirliError
source§fn from(source: SelectionError) -> Self
fn from(source: SelectionError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for BirliError
impl Send for BirliError
impl Sync for BirliError
impl Unpin for BirliError
impl !UnwindSafe for BirliError
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