on Process Failed
Called when a managed process terminates abnormally or encounters an error.
Parameters
exit Value
the exit code returned by the process (non-zero indicates failure)
throwable
an optional exception describing the failure cause, or null if the failure reason is unknown