Non-production mode (debug mode - without the production flag):
- Returns 0 if everything is ok
- Returns 1 if there are major cases failed, anyway the process will passed.
- Returns 2 if there are critical cases failed, process aborts
Production mode (with the Production flag):
- Returns 0 if everything is ok
- Returns 2 if there are major/critical cases failed, process aborts
Related Jira ticket: SDKGEN-863