chore: add custom folder prompt (#3961)

* chore: add custom folder prompt

* chore: zip collab db

* chore: fix test

* chore: add test

* chore: fmt

* chore: fmt

* chore: fmt
This commit is contained in:
Nathan.fooo
2023-11-20 20:54:47 +08:00
committed by GitHub
parent 6f83f41c2d
commit b9ecc7ceb6
67 changed files with 1423 additions and 551 deletions

View File

@ -197,8 +197,8 @@ pub enum ErrorCode {
#[error("Missing auth field")]
MissingAuthField = 65,
#[error("Only one application can access the database")]
MultipleDBInstance = 66,
#[error("Rocksdb IO error")]
RocksdbIOError = 66,
#[error("Document id is empty")]
DocumentIdIsEmpty = 67,
@ -256,6 +256,12 @@ pub enum ErrorCode {
#[error("Not support yet")]
NotSupportYet = 85,
#[error("rocksdb corruption")]
RocksdbCorruption = 86,
#[error("rocksdb internal error")]
RocksdbInternal = 87,
}
impl ErrorCode {