RedBase Documentation

Welcome to the RedBase documentation portal. Browse the API reference, explore code examples, and learn how to build with REDB.

API Reference

Browse the REDB API documentation. Select a namespace or type from the tree on the left, or click on items below.

Showing: redb.Core.Exceptions Show all

redb.Core.Exceptions

Classes

C ComputedExpressionAnalyzer Expression analyzer for detecting Pro-only features.
C RedbLazyLoadScopeEndedException Thrown when a lazy load - the Props of an unloaded reference, RedbListItem.Object - finds no live re...
C RedbLockNotAcquiredException The strict row lock (LockForUpdateRequiredAsync) found fewer rows than it was asked to
C RedbObjectReferencedException Objects of a trash container are still referenced by live objects - a RedbObject<T>
C RedbProRequiredException Thrown when a Pro-only feature is invoked on a Free edition instance.
C RedbSchemaLockTimeoutException Start-up waited for the schema lock longer than :
C RedbSchemaMissingException The database has no redb schema at all - the core table _schemes is missing - and
C RedbSchemaNewerException The database carries a redb module (or, on SQLite, a file schema) newer than this package's, and tha...
C RedbSchemaOutdatedException The database schema is behind the version this build requires, and the application could not
C RedbSchemeMismatchException Thrown by LoadAsync<TProps> when the loaded object belongs to a different scheme than
C RedbSchemeNameConflictException Thrown when two CLR types claim the same explicit scheme name. Both types are named in the
C RedbSchemeNameException Thrown when a type declares an explicit scheme name ([RedbScheme(Name = "...")]) that
C RedbSchemeNamespaceMismatchException Thrown when a type resolves to a scheme (by explicit name, FullName, short-name fallback or as the
C RedbSchemeNameTakenException Thrown when a type wants to rename its scheme to an explicit name that another scheme in the
C RedbSynchronousLazyLoadException Thrown by the Props getter of an unloaded reference when
C RedbTypeMigrationException Thrown by scheme synchronisation when a property's type changed but the stored values could not be
C RedbUniqueKeyDefinitionException Thrown by scheme synchronisation when [RedbUnique] sits where it cannot be enforced: on a
C RedbUniqueKeyValueException A value written into a [RedbUnique] field has no canonical form — NaN, an
C RedbUniqueViolationException A save was rejected because a [RedbUnique] key is already taken by another object of the
C RedbUnloadedReferenceException Thrown when a reference whose properties were never loaded is saved directly: the object has an id a...
C RedbValueStringTooLongException _objects._value_string is an identifier column (owner decision 2026-09-02): 450

Enums

E ProFeatureCategory Categories of Pro-only features for appropriate error messages.
E RedbUniqueViolationKind Which unique index rejected a save - first-class discrimination for