improve err
This commit is contained in:
parent
fc490f5d13
commit
c49188847a
1 changed files with 1 additions and 1 deletions
|
|
@ -294,7 +294,7 @@ 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: {0}")]
|
||||
#[error("script runtime error:\n {0}")]
|
||||
RuntimeError(String),
|
||||
#[error("script compilation error: {0}")]
|
||||
CompileError(Box<dyn std::error::Error + Send>),
|
||||
|
|
|
|||
Loading…
Reference in a new issue