pub enum TemporalError {
Show 21 variants
InvalidInput(String),
InsufficientData(String),
TimeIndexOutOfBounds {
index: usize,
min: usize,
max: usize,
},
InvalidTimeRange {
start: String,
end: String,
},
GapDetected {
position: usize,
},
DimensionMismatch {
expected: String,
actual: String,
},
InvalidParameter {
param: String,
reason: String,
},
CompositingError(String),
InterpolationError(String),
AggregationError(String),
ChangeDetectionError(String),
TrendAnalysisError(String),
PhenologyError(String),
DataCubeError(String),
MetadataError(String),
StorageError(String),
AnalyticsError(AnalyticsError),
CoreError(OxiGdalError),
DateTimeParseError(String),
IoError(Error),
SerializationError(Error),
}Expand description
Comprehensive error types for temporal analysis operations
Variants§
InvalidInput(String)
Invalid temporal input
InsufficientData(String)
Insufficient temporal data for computation
TimeIndexOutOfBounds
Time index out of bounds
Fields
InvalidTimeRange
Invalid time range
GapDetected
Gap in time series data
DimensionMismatch
Temporal dimension mismatch
Fields
InvalidParameter
Invalid temporal parameter
Fields
CompositingError(String)
Compositing operation failed
InterpolationError(String)
Interpolation failed
AggregationError(String)
Aggregation failed
ChangeDetectionError(String)
Change detection failed
TrendAnalysisError(String)
Trend analysis failed
PhenologyError(String)
Phenology analysis failed
DataCubeError(String)
Data cube operation failed
MetadataError(String)
Temporal metadata error
StorageError(String)
Storage backend error
AnalyticsError(AnalyticsError)
Analytics library error
CoreError(OxiGdalError)
Core library error
DateTimeParseError(String)
Date/time parsing error
IoError(Error)
I/O error
SerializationError(Error)
Serialization error
Implementations§
Source§impl TemporalError
impl TemporalError
Sourcepub fn invalid_input(msg: impl Into<String>) -> Self
pub fn invalid_input(msg: impl Into<String>) -> Self
Create an invalid input error
Sourcepub fn insufficient_data(msg: impl Into<String>) -> Self
pub fn insufficient_data(msg: impl Into<String>) -> Self
Create an insufficient data error
Sourcepub fn time_index_out_of_bounds(index: usize, min: usize, max: usize) -> Self
pub fn time_index_out_of_bounds(index: usize, min: usize, max: usize) -> Self
Create a time index out of bounds error
Sourcepub fn invalid_time_range(
start: impl Into<String>,
end: impl Into<String>,
) -> Self
pub fn invalid_time_range( start: impl Into<String>, end: impl Into<String>, ) -> Self
Create an invalid time range error
Sourcepub fn gap_detected(position: usize) -> Self
pub fn gap_detected(position: usize) -> Self
Create a gap detected error
Sourcepub fn dimension_mismatch(
expected: impl Into<String>,
actual: impl Into<String>,
) -> Self
pub fn dimension_mismatch( expected: impl Into<String>, actual: impl Into<String>, ) -> Self
Create a dimension mismatch error
Sourcepub fn invalid_parameter(
param: impl Into<String>,
reason: impl Into<String>,
) -> Self
pub fn invalid_parameter( param: impl Into<String>, reason: impl Into<String>, ) -> Self
Create an invalid parameter error
Sourcepub fn compositing_error(msg: impl Into<String>) -> Self
pub fn compositing_error(msg: impl Into<String>) -> Self
Create a compositing error
Sourcepub fn interpolation_error(msg: impl Into<String>) -> Self
pub fn interpolation_error(msg: impl Into<String>) -> Self
Create an interpolation error
Sourcepub fn aggregation_error(msg: impl Into<String>) -> Self
pub fn aggregation_error(msg: impl Into<String>) -> Self
Create an aggregation error
Sourcepub fn change_detection_error(msg: impl Into<String>) -> Self
pub fn change_detection_error(msg: impl Into<String>) -> Self
Create a change detection error
Sourcepub fn trend_analysis_error(msg: impl Into<String>) -> Self
pub fn trend_analysis_error(msg: impl Into<String>) -> Self
Create a trend analysis error
Sourcepub fn phenology_error(msg: impl Into<String>) -> Self
pub fn phenology_error(msg: impl Into<String>) -> Self
Create a phenology error
Sourcepub fn datacube_error(msg: impl Into<String>) -> Self
pub fn datacube_error(msg: impl Into<String>) -> Self
Create a data cube error
Sourcepub fn metadata_error(msg: impl Into<String>) -> Self
pub fn metadata_error(msg: impl Into<String>) -> Self
Create a metadata error
Sourcepub fn storage_error(msg: impl Into<String>) -> Self
pub fn storage_error(msg: impl Into<String>) -> Self
Create a storage error
Sourcepub fn datetime_parse_error(msg: impl Into<String>) -> Self
pub fn datetime_parse_error(msg: impl Into<String>) -> Self
Create a date/time parse error
Trait Implementations§
Source§impl Debug for TemporalError
impl Debug for TemporalError
Source§impl Display for TemporalError
impl Display for TemporalError
Source§impl Error for TemporalError
impl Error for TemporalError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
Source§impl From<AnalyticsError> for TemporalError
impl From<AnalyticsError> for TemporalError
Source§fn from(source: AnalyticsError) -> Self
fn from(source: AnalyticsError) -> Self
Source§impl From<Error> for TemporalError
impl From<Error> for TemporalError
Source§impl From<Error> for TemporalError
impl From<Error> for TemporalError
Source§impl From<OxiGdalError> for TemporalError
impl From<OxiGdalError> for TemporalError
Source§fn from(source: OxiGdalError) -> Self
fn from(source: OxiGdalError) -> Self
Auto Trait Implementations§
impl Freeze for TemporalError
impl !RefUnwindSafe for TemporalError
impl Send for TemporalError
impl Sync for TemporalError
impl Unpin for TemporalError
impl UnsafeUnpin for TemporalError
impl !UnwindSafe for TemporalError
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more