Skip to main content

Interface: ValidationFailure

Defined in: packages/core/src/application/use-cases/validate-artifacts.ts:56

A single validation failure — missing artifact, failed rule, or application error.

Properties

artifactId

readonly artifactId: string

Defined in: packages/core/src/application/use-cases/validate-artifacts.ts:58

The artifact type ID this failure pertains to.


description

readonly description: string

Defined in: packages/core/src/application/use-cases/validate-artifacts.ts:60

Human-readable description suitable for CLI output.


filename?

readonly optional filename?: string

Defined in: packages/core/src/application/use-cases/validate-artifacts.ts:62

Expected artifact filename when the failure is file-path specific.