Any non-zero exit value of the Stream script is interpreted as an error and causes an exception to be thrown and the query to fail.
This table describes the exit values.
Exit Value | Description |
---|---|
2 | Misuse of Bash shell built-ins. |
126 | Invoked command cannot be executed. |
127 | Command not found. |
128 | Invalid exit argument. |
We recommend that you do not override these exit values in your Stream scripts.