PolicyError
Defined in: policy.ts:64
A policy error returned when a file fails a policy check.
Extended by
Section titled “Extended by”Properties
Section titled “Properties”error:
string
Defined in: policy.ts:68
The error message describing what failed.
fixable?
Section titled “fixable?”
optionalfixable?:boolean
Defined in: policy.ts:73
Set to true if the policy violation can be fixed automatically.
fixed?
Section titled “fixed?”
optionalfixed?:boolean
Defined in: policy.ts:78
Set to true if the violation was successfully fixed (only set when resolve=true).
manualFix?
Section titled “manualFix?”
optionalmanualFix?:string
Defined in: policy.ts:83
An optional string that tells the user how to manually fix the failure.