pub enum LspBridgeError {
Lsp(LspError),
ResourceLimitExceeded(String),
RateLimitExceeded(String),
CircuitBreakerOpen(String),
ValidationFailed(String),
SecurityViolation(String),
Configuration(String),
Io(Error),
Json(Error),
Timeout(String),
Generic(String),
}
Expand description
Primary error type for the LSP Bridge
Variants§
Lsp(LspError)
LSP-related errors (existing LspError variants)
ResourceLimitExceeded(String)
Resource limit exceeded
RateLimitExceeded(String)
Rate limit exceeded
CircuitBreakerOpen(String)
Circuit breaker is open
ValidationFailed(String)
Input validation failed
SecurityViolation(String)
Security violation
Configuration(String)
Configuration error
Io(Error)
IO error
Json(Error)
JSON serialization/deserialization error
Timeout(String)
Timeout error
Generic(String)
Generic error
Trait Implementations§
Source§impl Debug for LspBridgeError
impl Debug for LspBridgeError
Source§impl Display for LspBridgeError
impl Display for LspBridgeError
Source§impl Error for LspBridgeError
impl Error for LspBridgeError
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()
Source§impl From<Error> for LspBridgeError
impl From<Error> for LspBridgeError
Source§impl From<Error> for LspBridgeError
impl From<Error> for LspBridgeError
Auto Trait Implementations§
impl Freeze for LspBridgeError
impl !RefUnwindSafe for LspBridgeError
impl Send for LspBridgeError
impl Sync for LspBridgeError
impl Unpin for LspBridgeError
impl !UnwindSafe for LspBridgeError
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