Path: redb-route/redb.Route.Sql/SqlBatchItemError.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.Sql/SqlBatchItemError.cs
----
namespace redb.Route.Sql;
///
/// A batch item that failed in a batch configured with breakBatchOnError=false: its statement was undone to the
/// item's savepoint and the batch went on. The failed items of a batch are carried in the
/// header.
///
/// Zero-based position of the item in the batch source.
/// The provider's error message.
///
/// The SQLSTATE code when the provider reports one (), otherwise null.
///
public sealed record SqlBatchItemError(int Index, string Message, string? SqlState);