Skip to main content
Table of Contents

Namespace Stratara.Abstractions.Validation

Classes

StrataraValidationException

Thrown by the validation pipeline behavior when a request fails validation with one or more Error-severity failures.

ValidationFailure

A single validation failure produced by an IValidator<T>. The shape mirrors FluentValidation's failure record so an adapter can map one-to-one without information loss.

ValidationResult

The outcome of validating a single instance: the (possibly empty) set of failures an IValidator<T> produced.

Interfaces

IValidator<T>

Validates instances of T. The framework default validation behavior runs every registered IValidator<T> for a request before the handler executes.

Enums

ValidationSeverity

Severity of a single ValidationFailure. Only Error blocks the pipeline; Warning and Info pass through and are logged.