RecommendationApprovalManualReviewException
extends RuntimeException
in package
Identifies an approval migration failure that safely degrades to manual review.
Table of Contents
Constants
- REASON_GATE_MISSING : mixed = 'approval_gate_missing'
- REASON_NO_ELIGIBLE_APPROVERS : mixed = 'no_eligible_approvers'
- REASON_OWNERSHIP_AMBIGUOUS : mixed = 'approval_ownership_ambiguous'
Properties
- $reason : string
Methods
- __construct() : mixed
- getReason() : string
- Return the stable manual-review reason.
Constants
REASON_GATE_MISSING
public
mixed
REASON_GATE_MISSING
= 'approval_gate_missing'
REASON_NO_ELIGIBLE_APPROVERS
public
mixed
REASON_NO_ELIGIBLE_APPROVERS
= 'no_eligible_approvers'
REASON_OWNERSHIP_AMBIGUOUS
public
mixed
REASON_OWNERSHIP_AMBIGUOUS
= 'approval_ownership_ambiguous'
Properties
$reason read-only
private
string
$reason
Methods
__construct()
public
__construct(string $reason, string $message[, Throwable|null $previous = null ]) : mixed
Parameters
- $reason : string
-
Stable machine-readable reason.
- $message : string
-
Diagnostic message for logs.
- $previous : Throwable|null = null
-
Previous exception.
getReason()
Return the stable manual-review reason.
public
getReason() : string