Skip to main content

RuleFailureCode_Preview

**Experimental** Represents the reason a rule check execution failed.

enum RuleFailureCode_Preview {
INTERNAL_SERVER_ERROR
INVALID_RETURN_VALUE_FROM_USER_SCRIPT
UNHANDLED_EXCEPTION_FROM_USER_SCRIPT
}

Values

RuleFailureCode_Preview.INTERNAL_SERVER_ERROR

**Experimental** Anything that is the system's fault, not a result of the script itself or circumstances outside of the system's control.

RuleFailureCode_Preview.INVALID_RETURN_VALUE_FROM_USER_SCRIPT

**Experimental** The assignment was not found. This can occur if the assignment was deleted after the execution started.

RuleFailureCode_Preview.UNHANDLED_EXCEPTION_FROM_USER_SCRIPT

**Experimental** An unhandled exception occurred in the user script.