type
DeleteRestrictedError
Deterministic schema constraints preventing permanent deletion.
Properties
| Property | Type | Description |
|---|---|---|
Constraints | []ReferenceConstraint | The Constraints value. |
How it works
It matches ErrDeleteRestricted with errors.Is. Document IDs are omitted to avoid a cross-document existence oracle.
Full signature
type DeleteRestrictedError struct {
Constraints []ReferenceConstraint
}Methods
DeleteRestrictedError.Error()Public method DeleteRestrictedError.Error from github.com/riducms/ridu/store.
DeleteRestrictedError.Is()Public method DeleteRestrictedError.Is from github.com/riducms/ridu/store.