Skip to main content

version_absent

Function version_absent 

Source
pub(crate) fn version_absent(error: &Error) -> bool
Expand description

Whether a failed read on the way to a room’s version leaves a check with no version rather than with that failure.

Only a missing record or a row that does not decode does. Every other error, a storage fault or a database pool failure included, is the read’s own.