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

View File

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