Member Junction
    Preparing search index...

    Variable RuntimeActionResultCodeConst

    RuntimeActionResultCode: {
        INACTIVE: "INACTIVE";
        INVALID_TYPE: "INVALID_TYPE";
        MEMORY_LIMIT: "MEMORY_LIMIT";
        MISSING_CODE: "MISSING_CODE";
        NOT_APPROVED: "NOT_APPROVED";
        RUNTIME_ERROR: "RUNTIME_ERROR";
        SECURITY_ERROR: "SECURITY_ERROR";
        SUCCESS: "SUCCESS";
        SYNTAX_ERROR: "SYNTAX_ERROR";
        TIMEOUT: "TIMEOUT";
        UNEXPECTED_ERROR: "UNEXPECTED_ERROR";
    } = ...

    Canonical result codes. Kept as string literals rather than an enum so they serialize trivially into ActionExecutionLog.ResultCode and match the existing Action.Result pattern.

    Type Declaration

    • ReadonlyINACTIVE: "INACTIVE"

      Action.Status is not 'Active'.

    • ReadonlyINVALID_TYPE: "INVALID_TYPE"

      Action.Type was not 'Runtime' — dispatcher misconfiguration.

    • ReadonlyMEMORY_LIMIT: "MEMORY_LIMIT"

      Sandbox exceeded its memory limit.

    • ReadonlyMISSING_CODE: "MISSING_CODE"

      Action.Code is missing or empty.

    • ReadonlyNOT_APPROVED: "NOT_APPROVED"

      CodeApprovalStatus is not 'Approved' — refuse to execute.

    • ReadonlyRUNTIME_ERROR: "RUNTIME_ERROR"

      Sandbox execution threw an error (runtime exception in the user code).

    • ReadonlySECURITY_ERROR: "SECURITY_ERROR"

      Security violation inside the sandbox (e.g. forbidden require).

    • ReadonlySUCCESS: "SUCCESS"

      Execution finished without throwing and the user code did not explicitly fail.

    • ReadonlySYNTAX_ERROR: "SYNTAX_ERROR"

      User code had a syntax error.

    • ReadonlyTIMEOUT: "TIMEOUT"

      Sandbox exceeded its timeout.

    • ReadonlyUNEXPECTED_ERROR: "UNEXPECTED_ERROR"

      Unhandled error during executor setup / teardown.