MCPcopy Create free account
hub / github.com/RustOtomeLab/RustEng / EngineError

Enum EngineError

src/error.rs:4–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2
3#[derive(Debug, Error)]
4pub(crate) enum EngineError {
5 #[error("script error: {0}")]
6 Script(#[from] ScriptError),
7
8 #[error("executors error: {0}")]
9 Executor(#[from] ExecutorError),
10
11 #[error("save error: {0}")]
12 Save(#[from] SaveError),
13
14 #[error("media error: {0}")]
15 Media(#[from] MediaError),
16
17 #[error("ui error: {0}")]
18 Ui(#[from] slint::PlatformError),
19}
20
21impl<T> From<tokio::sync::mpsc::error::SendError<T>> for EngineError {
22 fn from(_: tokio::sync::mpsc::error::SendError<T>) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected