pub enum ExasolError {
Connection(ConnectionError),
Query(QueryError),
Conversion(ConversionError),
Transport(TransportError),
}Expand description
Top-level error type encompassing all possible errors.
Variants§
Connection(ConnectionError)
Connection-related errors
Query(QueryError)
Query execution errors
Conversion(ConversionError)
Data conversion errors
Transport(TransportError)
Transport protocol errors
Implementations§
Source§impl ExasolError
impl ExasolError
Sourcepub fn to_adbc_code(&self) -> AdbcErrorCode
pub fn to_adbc_code(&self) -> AdbcErrorCode
Map to ADBC error code.
Trait Implementations§
Source§impl Debug for ExasolError
impl Debug for ExasolError
Source§impl Display for ExasolError
impl Display for ExasolError
Source§impl Error for ExasolError
impl Error for ExasolError
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<ConnectionError> for ExasolError
impl From<ConnectionError> for ExasolError
Source§fn from(source: ConnectionError) -> Self
fn from(source: ConnectionError) -> Self
Converts to this type from the input type.
Source§impl From<ConversionError> for ExasolError
impl From<ConversionError> for ExasolError
Source§fn from(source: ConversionError) -> Self
fn from(source: ConversionError) -> Self
Converts to this type from the input type.
Source§impl From<QueryError> for ExasolError
impl From<QueryError> for ExasolError
Source§fn from(source: QueryError) -> Self
fn from(source: QueryError) -> Self
Converts to this type from the input type.
Source§impl From<TransportError> for ExasolError
impl From<TransportError> for ExasolError
Source§fn from(source: TransportError) -> Self
fn from(source: TransportError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ExasolError
impl RefUnwindSafe for ExasolError
impl Send for ExasolError
impl Sync for ExasolError
impl Unpin for ExasolError
impl UnsafeUnpin for ExasolError
impl UnwindSafe for ExasolError
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