mirror of
https://github.com/quickwit-oss/tantivy.git
synced 2026-05-29 22:50:41 +00:00
15 lines
277 B
Rust
15 lines
277 B
Rust
use std::result;
|
|
use std::io;
|
|
|
|
#[derive(Debug)]
|
|
pub enum Error {
|
|
WriteError(String),
|
|
IOError(io::ErrorKind, String),
|
|
FileNotFound(String),
|
|
ReadOnly(String),
|
|
CannotAcquireLock(String),
|
|
FSTFormat(String),
|
|
}
|
|
|
|
pub type Result<T> = result::Result<T, Error>;
|