bf_tree/error.rs
1// Copyright (c) Microsoft Corporation.
2// Licensed under the MIT license.
3
4#[derive(Debug)]
5pub(crate) enum TreeError {
6 Locked,
7 CircularBufferFull,
8 NeedRestart, // need to restart the operation, potentially will do SMO operations
9}
10
11#[derive(Debug, PartialEq, Eq, Clone)]
12pub enum ConfigError {
13 MinimumRecordSize(String),
14 MaximumRecordSize(String),
15 LeafPageSize(String),
16 MaxKeyLen(String),
17 CircularBufferSize(String),
18}