mirror of
https://github.com/quickwit-oss/tantivy.git
synced 2026-01-16 05:52:54 +00:00
18 lines
338 B
Rust
18 lines
338 B
Rust
use std::result;
|
|
use std::io;
|
|
|
|
#[derive(Debug)]
|
|
pub enum Error {
|
|
NotImplementedYet,
|
|
WriteError(String),
|
|
ReadError,
|
|
IOError(io::ErrorKind, String),
|
|
FileNotFound(String),
|
|
LockError(String),
|
|
ReadOnly(String),
|
|
CannotAcquireLock(String),
|
|
FSTFormat(String),
|
|
}
|
|
|
|
pub type Result<T> = result::Result<T, Error>;
|