| Name | script generates error |
| Event Lines | script generates error |
| Triggers | when a script generates an error. |
| Generated Examples | on script generates error:
after script generates error: |
| Contexts | <context.message> returns the error message.
<context.queue> returns the queue that caused the error, if any.
<context.script> returns the script that caused the error, if any.
<context.line> returns the line number within the script file that caused the error, if any.
|
| Cancellable | True - This adds <context.cancelled> and determine 'cancelled' or 'cancelled:false' |
| Group | Core |
| Warning(s) | Abusing this event can cause significant failures in the Denizen debug system. Use only with extreme caution. |
| Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/events/core/ScriptGeneratesErrorScriptEvent.java#L13 |