Allow invocation listener to update the system error value
Add script API access to system_error