Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ pub use std::io::ErrorKind as IoErrorKind;
use std::{borrow::Cow, convert::Infallible, io};
use thiserror::Error;

/// A unified error enum that contains several errors that might occurr during
/// A unified error enum that contains several errors that might occur during
/// the lifecycle of this driver
#[derive(Debug, Clone, Error, PartialEq, Eq)]
pub enum Error {
#[error("An error occured during the attempt of performing I/O: {}", message)]
/// An error occured when performing I/O to the server.
#[error("An error occurred during the attempt of performing I/O: {}", message)]
/// An error occurred when performing I/O to the server.
Io {
/// A list specifying general categories of I/O error.
kind: IoErrorKind,
Expand Down