Versions in this module Expand all Collapse all v3 v3.0.0 Jul 31, 2026 Changes in this version + var ErrBatchOperationFailed = errors.New("batch operation failed") + var ErrConditionFailed = errors.New("condition check failed") + var ErrDuplicatePrimaryKey = errors.New("duplicate primary key definition") + var ErrEmptyValue = errors.New("empty value") + var ErrEncryptedFieldNotQueryable = errors.New("encrypted fields are not queryable/filterable") + var ErrEncryptionNotConfigured = errors.New("encryption not configured") + var ErrImmutableModelMutation = errors.New("immutable model mutation") + var ErrIndexNotFound = errors.New("index not found") + var ErrInvalidEncryptedEnvelope = errors.New("invalid encrypted envelope") + var ErrInvalidModel = errors.New("invalid model") + var ErrInvalidOperator = errors.New("invalid query operator") + var ErrInvalidPrimaryKey = errors.New("invalid primary key") + var ErrInvalidTag = errors.New("invalid struct tag") + var ErrItemNotFound = errors.New("item not found") + var ErrMissingPrimaryKey = errors.New("missing primary key") + var ErrProtectedFieldMutation = errors.New("protected field mutation") + var ErrRejectedDeployAuthorityEvidence = errors.New("rejected deploy authority evidence") + var ErrTableNotFound = errors.New("table not found") + var ErrThrottled = errors.New("throttled") + var ErrTransactionConflict = transactionSubtypeError("transaction conflict") + var ErrTransactionFailed = errors.New("transaction failed") + var ErrUnsupportedType = errors.New("unsupported type") + var ErrVersionConflict = conditionSubtypeError("version conflict") + func IsConditionFailed(err error) bool + func IsInvalidModel(err error) bool + func IsNotFound(err error) bool + type EncryptedFieldError struct + Err error + Field string + Operation string + func (e *EncryptedFieldError) Error() string + func (e *EncryptedFieldError) Unwrap() error + type TheorydbError struct + Context map[string]any + Err error + Model string + Op string + func NewError(op, model string, err error) *TheorydbError + func NewErrorWithContext(op, model string, err error, context map[string]any) *TheorydbError + func (e *TheorydbError) Error() string + func (e *TheorydbError) Is(target error) bool + func (e *TheorydbError) Unwrap() error + type TransactionError struct + Err error + Model string + Operation string + OperationIndex int + Reason string + func (e *TransactionError) Error() string + func (e *TransactionError) Unwrap() error v3.0.0-rc Jul 31, 2026 Other modules containing this package github.com/theory-cloud/tabletheory github.com/theory-cloud/tabletheory/v2