pub enum Error {
Show 28 variants
IoError(Error),
ConfigError(ConfigError),
JsonError(Error),
HttpError(Error),
MaxRetriesExceeded(u32),
UrlParseError(ParseError),
RpcError(i32, String),
InvalidRpcId(String),
EnvError(VarError),
SemaphoreError(AcquireError),
JoinError(JoinError),
ProgressSendError(SendError<Progress>),
ProgressRecvError(RecvError),
StripPrefixError(StripPrefixError),
ParseIntError(ParseIntError),
InvalidResponse,
NotImplemented,
PartTooLarge,
InvalidAnnotationType(String),
MissingImages(String),
MissingAnnotations(String),
MissingLabel(String),
InvalidParameters(String),
FeatureNotEnabled(String),
EmptyToken,
InvalidToken,
TokenExpired,
Unauthorized,
}Expand description
Comprehensive error type for EdgeFirst Studio Client operations.
This enum covers all possible error conditions that can occur when using the EdgeFirst Studio Client, from network issues to authentication problems and data validation errors.
Variants§
IoError(Error)
An I/O error occurred during file operations.
ConfigError(ConfigError)
Configuration parsing or loading error.
JsonError(Error)
JSON serialization or deserialization error.
HttpError(Error)
HTTP request error from the reqwest client.
MaxRetriesExceeded(u32)
Maximum number of retries exceeded for an operation.
UrlParseError(ParseError)
URL parsing error.
RpcError(i32, String)
RPC error with error code and message from the server.
InvalidRpcId(String)
Invalid RPC request ID format.
EnvError(VarError)
Environment variable error.
SemaphoreError(AcquireError)
Semaphore acquisition error for concurrent operations.
JoinError(JoinError)
Async task join error.
ProgressSendError(SendError<Progress>)
Error sending progress updates.
ProgressRecvError(RecvError)
Error receiving progress updates.
StripPrefixError(StripPrefixError)
Path prefix stripping error.
ParseIntError(ParseIntError)
Integer parsing error.
InvalidResponse
Server returned an invalid or unexpected response.
NotImplemented
Requested functionality is not yet implemented.
PartTooLarge
File part size exceeds the maximum allowed limit.
InvalidAnnotationType(String)
Invalid annotation type provided.
MissingImages(String)
Required image files are missing from the dataset.
MissingAnnotations(String)
Required annotation files are missing from the dataset.
MissingLabel(String)
Referenced label is missing or not found.
InvalidParameters(String)
Invalid parameters provided to an operation.
FeatureNotEnabled(String)
Attempted to use a feature that is not enabled.
EmptyToken
Authentication token is empty or not provided.
InvalidToken
Authentication token format is invalid.
TokenExpired
Authentication token has expired.
User is not authorized to perform the requested operation.
Trait Implementations§
Source§impl From<AcquireError> for Error
impl From<AcquireError> for Error
Source§fn from(err: AcquireError) -> Self
fn from(err: AcquireError) -> Self
Source§impl From<ConfigError> for Error
impl From<ConfigError> for Error
Source§fn from(err: ConfigError) -> Self
fn from(err: ConfigError) -> Self
Source§impl From<ParseError> for Error
impl From<ParseError> for Error
Source§fn from(err: ParseError) -> Self
fn from(err: ParseError) -> Self
Source§impl From<ParseIntError> for Error
impl From<ParseIntError> for Error
Source§fn from(err: ParseIntError) -> Self
fn from(err: ParseIntError) -> Self
Source§impl From<StripPrefixError> for Error
impl From<StripPrefixError> for Error
Source§fn from(err: StripPrefixError) -> Self
fn from(err: StripPrefixError) -> Self
Auto Trait Implementations§
impl Freeze for Error
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
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