Path: redb-route/redb.Route/Validation/ValidationSeverity.cs
Snapshot: redb-route, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages.
License: Apache-2.0. Repository: https://github.com/redbase-app/redb-route
Page: https://redbase.app/src/dev-2026-12-06/redb-route/redb.Route/Validation/ValidationSeverity.cs
----
namespace redb.Route.Validation;
///
/// Severity classification for a .
/// Lets a single contract distinguish soft warnings
/// (route continues, header set) from hard errors (route may throw).
///
public enum ValidationSeverity
{
///
/// Validation failed but processing should continue.
/// appends the errors to the redb.validation.warnings in-header (semicolon-joined),
/// and never throws.
///
Warning = 0,
///
/// Validation failed and is treated as an error. Honours the existing
/// flag — throws
/// when set, otherwise sets properties only.
///
Error = 1
}