pub enum ExcelMcpError {
NotFound(String),
InvalidInput(String),
EngineUnsupported(String),
CapacityExceeded(String),
IoError(String),
ParseError(String),
Evicted(String),
}Expand description
Central error type for the Excel MCP server.
Each variant carries a descriptive String message so that callers
(ultimately the LLM client) receive actionable feedback.
Variants§
NotFound(String)
The requested resource (workbook, sheet, cell, etc.) was not found.
InvalidInput(String)
The caller supplied an invalid parameter value.
EngineUnsupported(String)
The requested operation is not supported by the engine that owns the workbook.
CapacityExceeded(String)
The workbook store has reached its maximum capacity.
IoError(String)
An I/O error occurred (file read/write, path issues, etc.).
ParseError(String)
A parsing error occurred (cell references, data formats, etc.).
Evicted(String)
The workbook was evicted from the store due to inactivity.
Trait Implementations§
Source§impl Clone for ExcelMcpError
impl Clone for ExcelMcpError
Source§fn clone(&self) -> ExcelMcpError
fn clone(&self) -> ExcelMcpError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExcelMcpError
impl Debug for ExcelMcpError
Source§impl Display for ExcelMcpError
impl Display for ExcelMcpError
Source§impl Error for ExcelMcpError
impl Error for ExcelMcpError
1.30.0 · 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 ExcelMcpError
impl From<Error> for ExcelMcpError
Source§impl From<Error> for ExcelMcpError
impl From<Error> for ExcelMcpError
Source§impl PartialEq for ExcelMcpError
impl PartialEq for ExcelMcpError
impl Eq for ExcelMcpError
impl StructuralPartialEq for ExcelMcpError
Auto Trait Implementations§
impl Freeze for ExcelMcpError
impl RefUnwindSafe for ExcelMcpError
impl Send for ExcelMcpError
impl Sync for ExcelMcpError
impl Unpin for ExcelMcpError
impl UnsafeUnpin for ExcelMcpError
impl UnwindSafe for ExcelMcpError
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.