Skip to main content

unnameable_record

Function unnameable_record 

Source
pub(crate) fn unnameable_record(subject: &str, error: &RecordError) -> ApiError
Expand description

The 500 for a stored record the data model cannot name.

Unreachable for anything written through this server: every store computes the CID before it stores the record and refuses one it cannot. It exists for a record replayed out of a write-ahead log written before that was true, which is a server-side fact and not a request a caller can rewrite.