pub enum IdeError {
ConfigError(String),
ConfigValidationError(String),
PathResolutionError(String),
LspError(String),
ProviderError(String),
CommunicationError(String),
Timeout(u64),
SerializationError(Error),
YamlError(Error),
SchemaValidationError(String),
IoError(Error),
Other(String),
}Expand description
IDE Integration Error
Variants§
ConfigError(String)
Configuration error
ConfigValidationError(String)
Configuration validation error
PathResolutionError(String)
Path resolution error
LspError(String)
LSP server error
ProviderError(String)
Provider error
CommunicationError(String)
IDE communication error
Timeout(u64)
Timeout error
SerializationError(Error)
Serialization error
YamlError(Error)
YAML parsing error
SchemaValidationError(String)
JSON Schema validation error
IoError(Error)
IO error
Other(String)
Generic error
Implementations§
Source§impl IdeError
impl IdeError
Sourcepub fn config_error(message: impl Into<String>) -> Self
pub fn config_error(message: impl Into<String>) -> Self
Create a configuration error with remediation steps
Sourcepub fn config_validation_error(message: impl Into<String>) -> Self
pub fn config_validation_error(message: impl Into<String>) -> Self
Create a configuration validation error with remediation steps
Sourcepub fn path_resolution_error(message: impl Into<String>) -> Self
pub fn path_resolution_error(message: impl Into<String>) -> Self
Create a path resolution error
Sourcepub fn provider_error(message: impl Into<String>) -> Self
pub fn provider_error(message: impl Into<String>) -> Self
Create a provider error
Sourcepub fn communication_error(message: impl Into<String>) -> Self
pub fn communication_error(message: impl Into<String>) -> Self
Create a communication error
Sourcepub fn schema_validation_error(message: impl Into<String>) -> Self
pub fn schema_validation_error(message: impl Into<String>) -> Self
Create a schema validation error
Trait Implementations§
Source§impl Error for IdeError
impl Error for IdeError
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()
Auto Trait Implementations§
impl Freeze for IdeError
impl !RefUnwindSafe for IdeError
impl Send for IdeError
impl Sync for IdeError
impl Unpin for IdeError
impl !UnwindSafe for IdeError
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
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>
Converts
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>
Converts
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 moreSource§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
Source§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a
CompactString. Read more