mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-17 01:56:27 +08:00
refactor(native): cache & job runtime (#15139)
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
use napi::{Error, Status};
|
||||
|
||||
pub(super) fn napi_error(message: impl Into<String>) -> Error {
|
||||
Error::new(Status::GenericFailure, message.into())
|
||||
}
|
||||
Reference in New Issue
Block a user