Enum rubbl_casatables::TableError
source · pub enum TableError {
InvalidUtf8,
NotScalarColumnError(GlueDataType),
UnexpectedDataType(UnexpectedDataTypeError),
Casacore(CasacoreError),
DimensionMismatch(DimensionMismatchError),
}
Expand description
An error type capturing all potential problems when interfacing with
Table
s.
Variants§
InvalidUtf8
Table paths must be representable as UTF-8 strings.
NotScalarColumnError(GlueDataType)
Expected a scalar, but got a vector.
UnexpectedDataType(UnexpectedDataTypeError)
Received a different type from what was expected.
Casacore(CasacoreError)
Generic casacore C++ exception.
DimensionMismatch(DimensionMismatchError)
An error type used when two arrays should have the same dimensionality, but do not.
Trait Implementations§
source§impl Debug for TableError
impl Debug for TableError
source§impl Display for TableError
impl Display for TableError
source§impl Error for TableError
impl Error for TableError
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<CasacoreError> for TableError
impl From<CasacoreError> for TableError
source§fn from(source: CasacoreError) -> Self
fn from(source: CasacoreError) -> Self
Converts to this type from the input type.
source§impl From<DimensionMismatchError> for TableError
impl From<DimensionMismatchError> for TableError
source§fn from(source: DimensionMismatchError) -> Self
fn from(source: DimensionMismatchError) -> Self
Converts to this type from the input type.
source§impl From<UnexpectedDataTypeError> for TableError
impl From<UnexpectedDataTypeError> for TableError
source§fn from(source: UnexpectedDataTypeError) -> Self
fn from(source: UnexpectedDataTypeError) -> Self
Converts to this type from the input type.