Skip to content

PolicyError

Defined in: policy.ts:64

A policy error returned when a file fails a policy check.

error: string

Defined in: policy.ts:68

The error message describing what failed.


optional fixable?: boolean

Defined in: policy.ts:73

Set to true if the policy violation can be fixed automatically.


optional fixed?: boolean

Defined in: policy.ts:78

Set to true if the violation was successfully fixed (only set when resolve=true).


optional manualFix?: string

Defined in: policy.ts:83

An optional string that tells the user how to manually fix the failure.