This commit is contained in:
Quaternions 2024-07-01 14:10:52 -07:00
parent b09f3a6ab0
commit 3182d5dd75
2 changed files with 4 additions and 0 deletions

View File

@ -186,6 +186,7 @@ struct ScriptWithOverrides{
source:String,
}
#[derive(Debug)]
pub enum ScriptWithOverridesError{
UnimplementedProperty(String),
}
@ -232,6 +233,7 @@ struct CompileNode{
class:CompileClass,
}
#[derive(Debug)]
enum CompileNodeError{
IO(std::io::Error),
ScriptWithOverrides(ScriptWithOverridesError),
@ -411,6 +413,7 @@ pub struct CompileConfig{
style:Option<Style>,
}
#[derive(Debug)]
pub enum CompileError{
NullChildRef,
IO(std::io::Error),

View File

@ -43,6 +43,7 @@ enum WriteStackInstruction<'a>{
Destroy(Ref),
}
#[derive(Debug)]
pub enum WriteError{
ClassNotScript(String),
IO(std::io::Error),