mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-27 14:40:44 +00:00
16 lines
389 B
Rust
16 lines
389 B
Rust
use serde::{Deserialize, Serialize};
|
|
|
|
/// An error produced when interperting the rsx
|
|
#[derive(Debug)]
|
|
pub enum Error {
|
|
ParseError(syn::Error),
|
|
RecompileRequiredError(RecompileReason),
|
|
}
|
|
|
|
#[derive(Debug, Serialize, Deserialize)]
|
|
pub enum RecompileReason {
|
|
CapturedVariable(String),
|
|
CapturedExpression(String),
|
|
CapturedComponent(String),
|
|
CapturedListener(String),
|
|
}
|