Class SqliteExceptionExtensions
SQLite-specific exception helpers for code running on the EF Core persistence stack.
Inheritance
object
Namespace: Umbraco.Cms.Persistence.EFCore
Assembly: Umbraco.Cms.Persistence.EFCore.dll
Syntax
public static class SqliteExceptionExtensions
Remarks
A parallel helper exists at Umbraco.Cms.Persistence.Sqlite.Services.SqliteExceptionExtensions
for the NPoco stack. Both stacks are independent (neither references the other) so the small
duplication is intentional — keeps the layering clean.
Methods
View SourceIsBusyOrLocked(SqliteException)
Determines if the SQLite exception is a BUSY or LOCKED error.
Declaration
public static bool IsBusyOrLocked(this SqliteException ex)
Parameters
| Type | Name | Description |
|---|---|---|
| SqliteException | ex | The SQLite exception to check. |
Returns
| Type | Description |
|---|---|
| bool |
|