package
20.2.19+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev

# Functions

IsScrubError checks if an error is a Error.
UnwrapScrubError gets the underlying error if err is a scrub.Error.
WrapError wraps an error with a Error.

# Constants

CheckConstraintViolation occurs when a row in a table is violating a check constraint.
DanglingIndexReferenceError occurs when a secondary index k/v points to a non-existing primary k/v.
ForeignKeyConstraintViolation occurs when a row in a table is violating a foreign key constraint.
IndexKeyDecodingError occurs while decoding the an index key.
IndexValueDecodingError occurs while decoding the an index value.
MissingIndexEntryError occurs when a primary k/v is missing a corresponding secondary index k/v.
PhysicalError is a generic error when there is an error in the SQL physical data.
SecondaryIndexKeyExtraValueDecodingError occurs when the extra columns stored in a key fail to decode.
UnexpectedNullValueError occurs when a null value is encountered where the value is expected to be non-nullable.

# Structs

Error contains the details on the scrub error that was caught.