Ruby support #1

Open
jaroslaw wants to merge 165 commits from ruby into main
3 changed files with 6 additions and 2 deletions
Showing only changes of commit 16ad6630dd - Show all commits

View file

@ -0,0 +1,2 @@
mark_called()
error()

View file

@ -0,0 +1,2 @@
mark_called();
throw();

View file

@ -294,9 +294,9 @@ const ENTITY_VAR_NAME: &str = "entity";
/// An error that can occur when internal [ScriptingPlugin] systems are being executed
#[derive(Error, Debug)]
pub enum ScriptingError {
#[error("script runtime error:\n {0}")]
#[error("script runtime error:\n{0}")]
RuntimeError(String),
#[error("script compilation error: {0}")]
#[error("script compilation error:\n{0}")]
CompileError(Box<dyn std::error::Error + Send>),
#[error("no runtime resource present")]
NoRuntimeResource,